// // GJAccountManager::ProcessHttpRequest from 0x581d18 to 0x581e3c (292 bytes) // // 8 xrefs: // > GJAccountManager::registerAccount @ 0x581f78 // > GJAccountManager::openRegister @ 0x58208c // > GJAccountManager::getAccountBackupURL @ 0x5821dc // > GJAccountManager::getAccountSyncURL @ 0x582338 // > GJAccountManager::updateAccountSettings @ 0x58254e // > GJAccountManager::loginAccount @ 0x583068 // > GJAccountManager::backupAccount @ 0x583294 // > GJAccountManager::syncAccount @ 0x58350e // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 11:52:54 +0000 // int __fastcall GJAccountManager::ProcessHttpRequest(cocos2d::CCObject *a1, int a2, int a3, int a4, int a5) { int v9; // r4 int v10; // r3 char v11; // r2 char *v12; // r1 char *v13; // r5 size_t v14; // r0 char *v15; // r1 int *v16; // r0 cocos2d::extension::CCHttpClient *Instance; // r0 v9 = operator new(0x8Cu); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v9); *(_DWORD *)(v9 + 52) = 5; *(_DWORD *)v9 = &off_C99410; *(_DWORD *)(v9 + 56) = 0; *(_DWORD *)(v9 + 60) = 0; *(_DWORD *)(v9 + 64) = 0; *(_DWORD *)(v9 + 68) = 0; *(_DWORD *)(v9 + 72) = 0; *(_DWORD *)(v9 + 76) = 0; *(_DWORD *)(v9 + 80) = 0; *(_DWORD *)(v9 + 84) = 0; *(_DWORD *)(v9 + 88) = 0; *(_DWORD *)(v9 + 108) = 0; *(_DWORD *)(v9 + 112) = 0; *(_DWORD *)(v9 + 116) = 0; *(_BYTE *)(v9 + 57) = 0; *(_BYTE *)(v9 + 56) = 0; while ( 1 ) { v10 = *(_DWORD *)(v9 + 72); if ( !v10 ) break; *(_DWORD *)(v9 + 72) = v10 - 1; } v11 = *(_BYTE *)(v9 + 80) & 1; if ( v11 ) LOBYTE(dword_0) = 0; else *(_BYTE *)(v9 + 81) = 0; if ( v11 ) *(_DWORD *)(v9 + 84) = 0; else *(_BYTE *)(v9 + 80) = 0; *(_DWORD *)(v9 + 92) = 0; *(_DWORD *)(v9 + 96) = 0; *(_DWORD *)(v9 + 100) = 0; *(_DWORD *)(v9 + 104) = 0; *(_DWORD *)(v9 + 120) = 0; *(_BYTE *)(v9 + 124) = 0; *(_DWORD *)(v9 + 128) = 0; *(_DWORD *)(v9 + 132) = 0; *(_DWORD *)(v9 + 136) = 0; if ( (*(_BYTE *)a2 & 1) != 0 ) v12 = *(char **)(a2 + 8); else v12 = (char *)(a2 + 1); std::string::assign((int *)(v9 + 56), v12); *(_DWORD *)(v9 + 52) = 1; *(_DWORD *)(v9 + 92) = a1; *(_DWORD *)(v9 + 96) = GJAccountManager::onProcessHttpRequestCompleted; *(_DWORD *)(v9 + 100) = 0; if ( a1 ) cocos2d::CCObject::retain(a1); if ( (unsigned int)(a5 - 22) <= 1 ) *(_DWORD *)(v9 + 132) = 600; if ( (*(_BYTE *)a3 & 1) != 0 ) v13 = *(char **)(a3 + 8); else v13 = (char *)(a3 + 1); v14 = strlen(v13); std::vector::assign((_DWORD *)(v9 + 68), v13, &v13[v14]); if ( (*(_BYTE *)a4 & 1) != 0 ) v15 = *(char **)(a4 + 8); else v15 = (char *)(a4 + 1); v16 = std::string::assign((int *)(v9 + 80), v15); *(_DWORD *)(v9 + 120) = a5; Instance = (cocos2d::extension::CCHttpClient *)cocos2d::extension::CCHttpClient::getInstance((cocos2d::extension::CCHttpClient *)v16); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v9); return cocos2d::CCObject::release((cocos2d::CCObject *)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source