// // GameLevelManager::performNetworkTest from 0x814a48 to 0x814c4c (516 bytes) // // 2 xrefs: // > MenuLayer::firstNetworkTest @ 0x6ea358 // > @ 0xede68 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 12:54:54 +0000 // __int64 __fastcall GameLevelManager::performNetworkTest(GameLevelManager *this) { __int64 v3; // x19 char v4; // w1 const char *v5; // x1 int v6; // w0 cocos2d::extension::CCHttpClient *Instance; // x0 char *v8; // [xsp+48h] [xbp+48h] __int64 v9[2]; // [xsp+50h] [xbp+50h] BYREF void *v10; // [xsp+60h] [xbp+60h] if ( !*((_BYTE *)this + 1536) ) { *((_BYTE *)this + 1536) = 1; v9[0] = 0; v9[1] = 0; v10 = nullptr; std::string::__init(v9, "temp", 4u); v3 = operator new(0xD8u); cocos2d::CCObject::CCObject((cocos2d::CCObject *)v3); *(_QWORD *)v3 = &off_143F160; *(_QWORD *)(v3 + 64) = 0; *(_QWORD *)(v3 + 72) = 0; *(_QWORD *)(v3 + 80) = 0; *(_QWORD *)(v3 + 88) = 0; *(_QWORD *)(v3 + 96) = 0; *(_QWORD *)(v3 + 112) = 0; *(_QWORD *)(v3 + 104) = 0; *(_QWORD *)(v3 + 120) = 0; *(_QWORD *)(v3 + 128) = 0; *(_QWORD *)(v3 + 168) = 0; v4 = *(_BYTE *)(v3 + 112); *(_QWORD *)(v3 + 176) = 0; *(_QWORD *)(v3 + 184) = 0; *(_DWORD *)(v3 + 56) = 5; *(_BYTE *)(v3 + 65) = 0; *(_BYTE *)(v3 + 64) = 0; if ( (v4 & 1) != 0 ) { LOBYTE(dword_0) = 0; *(_QWORD *)(v3 + 120) = 0; } else { *(_BYTE *)(v3 + 113) = 0; *(_BYTE *)(v3 + 112) = 0; } *(_QWORD *)(v3 + 136) = 0; *(_QWORD *)(v3 + 144) = 0; *(_QWORD *)(v3 + 152) = 0; *(_QWORD *)(v3 + 160) = 0; *(_DWORD *)(v3 + 192) = 0; *(_BYTE *)(v3 + 196) = 0; *(_DWORD *)(v3 + 200) = 0; *(_DWORD *)(v3 + 204) = 0; *(_DWORD *)(v3 + 208) = 0; std::string::assign((__int64 *)(v3 + 64), "https://www.google.com"); *(_DWORD *)(v3 + 204) = 1; *(_DWORD *)(v3 + 56) = 1; *(_QWORD *)(v3 + 136) = this; *(_QWORD *)(v3 + 144) = GameLevelManager::onProcessHttpRequestCompleted; *(_QWORD *)(v3 + 152) = 0; cocos2d::CCObject::retain(this); v5 = (char *)v9 + 1; if ( (v9[0] & 1) != 0 ) v5 = (const char *)v10; v8 = (char *)v5; v6 = strlen(v5); std::vector::assign((char **)(v3 + 88), v8, &v8[v6]); std::string::assign((__int64 *)(v3 + 112), "tag"); *(_DWORD *)(v3 + 192) = (unsigned int)&word_3E; Instance = (cocos2d::extension::CCHttpClient *)cocos2d::extension::CCHttpClient::getInstance((cocos2d::extension::CCHttpClient *)&word_3E); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v3); cocos2d::CCObject::release((cocos2d::CCObject *)v3); if ( (v9[0] & 1) != 0 ) operator delete(v10); } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source