// // GameLevelManager::performNetworkTest from 0x10051bde0 to 0x10051bf53 (371 bytes) // // 1 xrefs: // > MenuLayer::firstNetworkTest @ 0x10037c97d // // This function is hookable on this platform (idp: pc, 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:31:41 +0000 // void __fastcall GameLevelManager::performNetworkTest(__int64 a1) { char *v1; // rbx unsigned int v2; // eax __int64 Instance; // rax char __s[15]; // [rsp+9h] [rbp-27h] BYREF if ( !*(_BYTE *)(a1 + 1536) ) { *(_BYTE *)(a1 + 1536) = 1; strcpy(__s, "temp"); v1 = (char *)operator new(0xD8u); cocos2d::CCObject::CCObject((__int64)v1); *(_QWORD *)v1 = off_100B6FB70; *(_OWORD *)(v1 + 168) = 0; *((_QWORD *)v1 + 23) = 0; *((_OWORD *)v1 + 4) = 0; *((_OWORD *)v1 + 5) = 0; *((_OWORD *)v1 + 6) = 0; *((_OWORD *)v1 + 7) = 0; *((_QWORD *)v1 + 16) = 0; *((_DWORD *)v1 + 14) = 5; *((_DWORD *)v1 + 48) = 0; v1[196] = 0; *((_QWORD *)v1 + 25) = 0; *((_DWORD *)v1 + 52) = 0; *(_OWORD *)(v1 + 136) = 0; *(_OWORD *)(v1 + 152) = 0; std::string::assign((std::string *)(v1 + 64), "https://www.google.com"); *((_DWORD *)v1 + 51) = 1; *((_DWORD *)v1 + 14) = 1; *((_QWORD *)v1 + 17) = a1; *((_QWORD *)v1 + 18) = GameLevelManager::onProcessHttpRequestCompleted; *((_QWORD *)v1 + 19) = 0; cocos2d::CCObject::retain(a1); v2 = strlen(__s); sub_1000A30A0((void **)v1 + 11, __s, &__s[v2], v2); std::string::assign((std::string *)(v1 + 112), "tag"); *((_DWORD *)v1 + 48) = 62; Instance = cocos2d::extension::CCHttpClient::getInstance(); cocos2d::extension::CCHttpClient::send(Instance, (__int64)v1); cocos2d::CCObject::release(v1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source