// // GameLevelManager::performNetworkTest from 0x3cf480 to 0x3cf542 (194 bytes) // // 1 xrefs: // > MenuLayer::firstNetworkTest @ 0x309d42 // // 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 GameLevelManager::performNetworkTest(GameLevelManager *a1) { int v2; // r4 size_t v3; // r0 cocos2d::extension::CCHttpClient *Instance; // r0 char *v5; // [sp+8h] [bp-Ch] BYREF if ( !a1->m_testedNetwork ) { a1->m_testedNetwork = 1; sub_776584((int)&v5, "temp"); v2 = operator new(0x7Cu); cocos2d::extension::CCHttpRequest::CCHttpRequest((cocos2d::extension::CCHttpRequest *)v2); sub_7753D4(v2 + 56, "https://www.google.com"); *(_DWORD *)(v2 + 116) = 1; *(_DWORD *)(v2 + 52) = 1; *(_DWORD *)(v2 + 76) = a1; *(_DWORD *)(v2 + 80) = GameLevelManager::onProcessHttpRequestCompleted; *(_DWORD *)(v2 + 84) = 0; cocos2d::CCObject::retain(a1); v3 = strlen(v5); std::vector::_M_assign_aux(v2 + 60, v5, &v5[v3]); sub_7753D4(v2 + 72, "tag"); *(_DWORD *)(v2 + 104) = 56; Instance = cocos2d::extension::CCHttpClient::getInstance(); cocos2d::extension::CCHttpClient::send(Instance, (cocos2d::extension::CCHttpRequest *)v2); cocos2d::CCObject::release((cocos2d::CCObject *)v2); sub_774008(&v5); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source