// // GameLevelManager::performNetworkTest from 0x100087c6c to 0x100087dbc (336 bytes) // // 1 xrefs: // > MenuLayer::firstNetworkTest @ 0x100267d64 // // 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 GameLevelManager::performNetworkTest(GameLevelManager *a1) { char *v2; // x19 void **v3; // x20 cocos2d::extension::CCHttpClient *Instance; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v6; // [xsp+1Fh] [xbp-21h] if ( !a1->m_testedNetwork ) { a1->m_testedNetwork = 1; sub_100009900(__p, "temp"); v2 = (char *)operator new(0xD8u); cocos2d::CCObject::CCObject((__int64)v2); *(_QWORD *)v2 = off_100781258; *((_OWORD *)v2 + 7) = 0u; *((_QWORD *)v2 + 22) = 0; *((_QWORD *)v2 + 23) = 0; *((_QWORD *)v2 + 21) = 0; *((_QWORD *)v2 + 16) = 0; *((_OWORD *)v2 + 5) = 0u; *((_OWORD *)v2 + 6) = 0u; *((_OWORD *)v2 + 4) = 0u; *((_DWORD *)v2 + 14) = 5; *((_DWORD *)v2 + 48) = 0; v2[196] = 0; *((_QWORD *)v2 + 25) = 0; *((_DWORD *)v2 + 52) = 0; *(_OWORD *)(v2 + 151) = 0u; v2[167] = 0; *(_OWORD *)(v2 + 135) = 0u; std::string::assign((std::string *)(v2 + 64), "https://www.google.com"); *((_DWORD *)v2 + 51) = 1; *((_DWORD *)v2 + 14) = 1; *((_QWORD *)v2 + 17) = a1; *((_QWORD *)v2 + 18) = GameLevelManager::onProcessHttpRequestCompleted; *((_QWORD *)v2 + 19) = 0; cocos2d::CCObject::retain(a1); if ( v6 >= 0 ) v3 = __p; else v3 = (void **)__p[0]; strlen((const char *)v3); sub_1000B24E8((_DWORD)v2 + 88, v3); std::string::assign((std::string *)(v2 + 112), "tag"); *((_DWORD *)v2 + 48) = 56; Instance = cocos2d::extension::CCHttpClient::getInstance(); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v2); cocos2d::CCObject::release((cocos2d::CCObject *)v2); if ( v6 < 0 ) operator delete(__p[0]); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source