// // GameLevelManager::performNetworkTest from 0x4b2e84 to 0x4b2f56 (210 bytes) // // 1 xrefs: // > MenuLayer::firstNetworkTest @ 0x3f9390 // // 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:50:04 +0000 // int __fastcall GameLevelManager::performNetworkTest(int this) { int v1; // r4 cocos2d::CCObject *v2; // r5 int *v3; // r4 char *v4; // r5 size_t v5; // r0 int *v6; // r0 cocos2d::extension::CCHttpClient *Instance; // r0 int v8[2]; // [sp+0h] [bp-14h] BYREF char *v9; // [sp+8h] [bp-Ch] v1 = *(unsigned __int8 *)(this + 980); v2 = (cocos2d::CCObject *)this; if ( !*(_BYTE *)(this + 980) ) { *(_BYTE *)(this + 980) = 1; v8[0] = v1; v8[1] = v1; v9 = (char *)v1; std::string::__init(v8, "temp", 4u); v3 = (int *)operator new(0x8Cu); cocos2d::extension::CCHttpRequest::CCHttpRequest((cocos2d::extension::CCHttpRequest *)v3); std::string::assign(v3 + 14, "https://www.google.com"); v3[33] = 1; v3[13] = 1; v3[23] = (int)v2; v3[24] = (int)GameLevelManager::onProcessHttpRequestCompleted; v3[25] = 0; cocos2d::CCObject::retain(v2); if ( (v8[0] & 1) != 0 ) v4 = v9; else v4 = (char *)v8 + 1; v5 = strlen(v4); std::vector::assign(v3 + 17, v4, &v4[v5]); v6 = std::string::assign(v3 + 20, "tag"); v3[30] = 62; Instance = (cocos2d::extension::CCHttpClient *)cocos2d::extension::CCHttpClient::getInstance((cocos2d::extension::CCHttpClient *)v6); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v3); cocos2d::CCObject::release((cocos2d::CCObject *)v3); return std::string::~string((int)v8); } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source