// // GJAccountManager::ProcessHttpRequest from 0x1402000f0 to 0x14020023e (334 bytes) // // 9 xrefs: // > GJAccountManager::registerAccount @ 0x140200928 // > GJAccountManager::loginAccount @ 0x140200ecc // > GJAccountManager::getAccountBackupURL @ 0x140201627 // > GJAccountManager::backupAccount @ 0x140201dff // > GJAccountManager::getAccountSyncURL @ 0x140202585 // > GJAccountManager::syncAccount @ 0x140202ae9 // > GJAccountManager::updateAccountSettings @ 0x140203e8d // > @ 0x1406cca8c // > @ 0x1406cca98 // // 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 // // Hidden C++ exception states: #wind=4 void __fastcall GJAccountManager::ProcessHttpRequest( cocos2d::CCObject *a1, const char *a2, const char *a3, const char *a4, int a5) { cocos2d::extension::CCHttpRequest *v9; // rbx const char *v10; // rdx const char *v11; // rax const char *v12; // rdx __int64 v13; // r8 const char *v14; // rdx __int64 v15; // rdx __int64 v16; // rcx __int64 v17; // r8 __int64 v18; // r9 cocos2d::extension::CCHttpClient *Instance; // rax v9 = (cocos2d::extension::CCHttpRequest *)operator new(0xE0u); cocos2d::extension::CCHttpRequest::CCHttpRequest(v9); v9->__vftable = (cocos2d::extension::CCHttpRequest_vtbl *)&cocos2d::extension::CCHttpRequest::`vftable'; v10 = a2; if ( *((_QWORD *)a2 + 3) > 0xFu ) v10 = *(const char **)a2; cocos2d::extension::CCHttpRequest::setUrl(v9, v10); v9->_requestType = kHttpPost; v9->_pTarget = a1; v9->_pSelector.ptr = (void (__cdecl *)(cocos2d::extension::CCHttpClient *, cocos2d::extension::CCHttpResponse *))GJAccountManager::onProcessHttpRequestCompleted; if ( a1 ) cocos2d::CCObject::retain(a1); if ( (unsigned int)(a5 - 20) <= 1 ) *(_DWORD *)&v9->_shouldCancel = 600; v11 = a3; if ( *((_QWORD *)a3 + 3) <= 0xFu ) { v12 = a3; } else { v11 = *(const char **)a3; v12 = *(const char **)a3; } v13 = -1; do ++v13; while ( v11[v13] ); cocos2d::extension::CCHttpRequest::setRequestData(v9, v12, v13); v14 = a4; if ( *((_QWORD *)a4 + 3) > 0xFu ) v14 = *(const char **)a4; cocos2d::extension::CCHttpRequest::setTag(v9, v14); LODWORD(v9->_headers._Mypair._Myval2._Myend) = a5; Instance = (cocos2d::extension::CCHttpClient *)cocos2d::extension::CCHttpClient::getInstance(v16, v15, v17, v18); cocos2d::extension::CCHttpClient::send(Instance, v9); cocos2d::CCObject::release(v9); sub_14003A830((__int64)a2); sub_14003A830((__int64)a3); sub_14003A830((__int64)a4); }