//
// GameLevelManager::onProcessHttpRequestCompleted from 0x1402195e0 to 0x1402196c5 (229 bytes)
//
// 3 xrefs:
// > GameLevelManager::ProcessHttpRequest @ 0x140219516
// > MenuLayer::firstNetworkTest @ 0x140474081
// > ??> @ 0x14091b9f8
//
// 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 11:28:22 +0000
//
// Hidden C++ exception states: #wind=2
void __fastcall GameLevelManager::onProcessHttpRequestCompleted(void *a1, __int64 a2, __int64 a3)
{
const char *Tag; // rdi
int v6; // ebp
size_t v7; // r8
__int128 v8; // [rsp+30h] [rbp-98h] BYREF
__int64 v9; // [rsp+40h] [rbp-88h]
__int64 v10; // [rsp+48h] [rbp-80h]
__int128 *v11; // [rsp+50h] [rbp-78h]
_BYTE v12[32]; // [rsp+60h] [rbp-68h] BYREF
_BYTE v13[32]; // [rsp+80h] [rbp-48h] BYREF
Tag = cocos2d::extension::CCHttpRequest::getTag(*(cocos2d::extension::CCHttpRequest **)(a3 + 56));
v6 = *(_DWORD *)(*(_QWORD *)(a3 + 56) + 200LL);
GameToolbox::getResponse((__int64)v13, a3);
v11 = &v8;
v8 = 0;
v9 = 0;
v10 = 0;
v7 = -1;
do
++v7;
while ( Tag[v7] );
sub_14003D230(&v8, Tag, v7);
sub_14003F4F0((__int64)v12, (__int64)v13);
GameLevelManager::handleIt(a1, v6);
sub_14003D310((__int64)v13);
}