Skip to content
This repository has been archived by the owner on Oct 11, 2023. It is now read-only.

Commit

Permalink
supported 3.12.1c_1020010
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSnowfield committed Feb 17, 2022
1 parent 4b18ae7 commit ae0eca8
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 12 deletions.
14 changes: 6 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</tbody>
</table>

![ver](https://img.shields.io/badge/taikari-v0.6.0-blue) ![arc](https://img.shields.io/badge/arcaea-3.12.0c-716dba)
![ver](https://img.shields.io/badge/taikari-v0.6.1-blue) ![arc](https://img.shields.io/badge/arcaea-3.12.1c-716dba)

## Hack Tool Sets
| name | description |
Expand Down Expand Up @@ -40,13 +40,11 @@ $ frida -U -f "moe.low.arc" --no-pause -l taikari.js
```

## Compatible Info
| Arcaea (build) | Architecture |
| :-------------- | :----------------- |
| 3.11.2c_1019305 | arm64-v8a |
| 3.11.2c_1019305 | armeabi-v7a |
| 3.12.0c_1020007 | arm64-v8a |
| 3.12.0c_1020007 | armeabi-v7a |

| Arcaea (build) | arm64-v8a | armeabi-v7a | x86 | x86_64 |
| :-------------- | :---------: | :-----------: | :---: | :---: |
| 3.11.2c_1019305 |||||
| 3.12.0c_1020007 |||||
| 3.12.1c_1020010 |||||

## License
Licensed under `616 SB License`.
23 changes: 19 additions & 4 deletions taikari.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ const config = {

// libraries
useNative: true,
useAsyncHttp: true,
useJLHttp: true,

// challenge server
challengeHttpPort: 23333,
Expand Down Expand Up @@ -67,6 +67,20 @@ const config = {
{ name: 'libcocos2dcpp.so!OnlineManager::OnlineManager', proc: 0xbf1234 },
{ name: 'libcocos2dcpp.so!OnlineManager::sendHttpRequest', proc: 0x567064 },
{ name: 'libcocos2dcpp.so!OnlineManager::setFavoriteCharacter', proc: 0xd463fc }
],
'3.12.1c_1020010_armeabi-v7a': [
{ name: 'libcocos2dcpp.so!curl_easy_setopt', proc: 0x6a946c },
{ name: 'libcocos2dcpp.so!easy_perform', proc: 0x6e3fa8 }, // curl_easy_perform also calling this
{ name: 'libcocos2dcpp.so!OnlineManager::OnlineManager', proc: 0x38a0c1 },
{ name: 'libcocos2dcpp.so!OnlineManager::sendHttpRequest', proc: 0x6fcf05 },
{ name: 'libcocos2dcpp.so!OnlineManager::setFavoriteCharacter', proc: 0x5F4CA9 }
],
'3.12.1c_1020010_arm64-v8a': [
{ name: 'libcocos2dcpp.so!curl_easy_setopt', proc: 0xbc7dc4 },
{ name: 'libcocos2dcpp.so!easy_perform', proc: 0xe711b0 }, // curl_easy_perform also calling this
{ name: 'libcocos2dcpp.so!OnlineManager::OnlineManager', proc: 0xc583dc },
{ name: 'libcocos2dcpp.so!OnlineManager::sendHttpRequest', proc: 0x8080cc },
{ name: 'libcocos2dcpp.so!OnlineManager::setFavoriteCharacter', proc: 0xde3cc0 }
]
}
};
Expand All @@ -86,6 +100,7 @@ Interceptor.attach(Module.findExportByName('liblog.so', '__android_log_print'),

let _logstr = args[2].readUtf8String();
if (_logstr != 'cocos_android_app_init') return;
console.raw('');

// get version
config.arcVersion = getArcaeaVersion();
Expand All @@ -104,7 +119,7 @@ Interceptor.attach(Module.findExportByName('liblog.so', '__android_log_print'),
}

// load compiled dex library
if (config.useAsyncHttp) {
if (config.useJLHttp) {
Java.openClassFile(`${resFolder('library')}/jlhttp.dex`).load();
console.info('dex file \'jlhttp.dex\' scuessfully loaded.');
}
Expand Down Expand Up @@ -299,9 +314,9 @@ function hackChallengeServer() {
}

// assert http dex loaded
if (!config.useAsyncHttp) {
if (!config.useJLHttp) {
console.error('challenge server requires jlhttp.dex!');
console.error('please enable the \'useAsyncHttp\'');
console.error('please enable the \'useJLHttp\'');
return;
}

Expand Down

0 comments on commit ae0eca8

Please sign in to comment.