// // GJAccountManager::ProcessHttpRequest from 0x46503c to 0x4651ae (370 bytes) // // 7 xrefs: // > GJAccountManager::registerAccount @ 0x465260 // > GJAccountManager::loginAccount @ 0x46539c // > GJAccountManager::getAccountBackupURL @ 0x4654d2 // > GJAccountManager::backupAccount @ 0x46568e // > GJAccountManager::getAccountSyncURL @ 0x4658c6 // > GJAccountManager::syncAccount @ 0x4659e8 // > GJAccountManager::updateAccountSettings @ 0x465f04 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJAccountManager::ProcessHttpRequest( cocos2d::CCObject *a1, char **a2, const void **a3, char **a4, int a5) { int v9; // r4 char *v10; // r9 const char *v11; // r0 unsigned int v12; // r0 char *v13; // r3 size_t v14; // r5 char *v15; // r10 void *v16; // r0 char *v17; // r5 size_t v18; // r2 char *v19; // r10 char *v20; // r3 size_t v21; // r5 cocos2d::extension::CCHttpClient *Instance; // r0 v9 = operator new(0x7Cu); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v9); *(_DWORD *)v9 = &off_A50100; *(_DWORD *)(v9 + 56) = &unk_ACDDA8; *(_DWORD *)(v9 + 72) = &unk_ACDDA8; *(_DWORD *)(v9 + 60) = 0; *(_DWORD *)(v9 + 64) = 0; *(_DWORD *)(v9 + 68) = 0; *(_DWORD *)(v9 + 92) = 0; *(_DWORD *)(v9 + 96) = 0; *(_DWORD *)(v9 + 100) = 0; *(_DWORD *)(v9 + 52) = 5; sub_7751A8(v9 + 56); *(_DWORD *)(v9 + 64) = *(_DWORD *)(v9 + 60); sub_7751A8(v9 + 72); *(_DWORD *)(v9 + 80) = 0; *(_DWORD *)(v9 + 84) = 0; *(_DWORD *)(v9 + 76) = 0; *(_DWORD *)(v9 + 88) = 0; *(_DWORD *)(v9 + 104) = 0; *(_BYTE *)(v9 + 108) = 0; *(_DWORD *)(v9 + 112) = 0; *(_DWORD *)(v9 + 116) = 0; *(_DWORD *)(v9 + 120) = 0; sub_7753D4(v9 + 56, *a2); *(_DWORD *)(v9 + 52) = 1; *(_DWORD *)(v9 + 76) = a1; *(_DWORD *)(v9 + 84) = 0; *(_DWORD *)(v9 + 80) = GJAccountManager::onProcessHttpRequestCompleted; if ( a1 ) cocos2d::CCObject::retain(a1); v10 = (char *)*a3; v11 = (const char *)*a3; if ( (unsigned int)(a5 - 20) <= 1 ) *(_DWORD *)(v9 + 116) = 600; v12 = strlen(v11); v13 = *(char **)(v9 + 60); v14 = v12; if ( v12 <= *(_DWORD *)(v9 + 68) - (int)v13 ) { v18 = *(_DWORD *)(v9 + 64) - (_DWORD)v13; if ( v18 < v12 ) { v19 = &v10[v18]; if ( v18 ) memmove(*(void **)(v9 + 60), v10, v18); v20 = *(char **)(v9 + 64); v21 = &v10[v14] - v19; if ( v21 ) v20 = (char *)memmove(*(void **)(v9 + 64), v19, v21); *(_DWORD *)(v9 + 64) = &v20[v21]; } else { if ( v12 ) v13 = (char *)memmove(*(void **)(v9 + 60), v10, v12); *(_DWORD *)(v9 + 64) = &v13[v14]; } } else { v15 = (char *)operator new(v12); memmove(v15, v10, v14); v16 = *(void **)(v9 + 60); if ( v16 ) operator delete(v16); v17 = &v15[v14]; *(_DWORD *)(v9 + 60) = v15; *(_DWORD *)(v9 + 64) = v17; *(_DWORD *)(v9 + 68) = v17; } sub_7753D4(v9 + 72, *a4); *(_DWORD *)(v9 + 104) = a5; Instance = cocos2d::extension::CCHttpClient::getInstance(); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v9); cocos2d::CCObject::release((cocos2d::CCObject *)v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source