//
// GameLevelManager::onProcessHttpRequestCompleted from 0x140142f00 to 0x140142fe5 (229 bytes)
//
// 3 xrefs:
// > GameLevelManager::ProcessHttpRequest @ 0x140142e3e
// > MenuLayer::firstNetworkTest @ 0x1403353ce
// > ??> @ 0x1406ca4f4
//
// 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
//
// Hidden C++ exception states: #wind=2
void GameLevelManager::onProcessHttpRequestCompleted(
GameLevelManager *a1,
cocos2d::extension::CCHttpClient *a2,
cocos2d::extension::CCHttpResponse *a3)
{
const char *Tag; // rdi
int Myend; // 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(a3->_pHttpRequest);
Myend = (int)a3->_pHttpRequest->_headers._Mypair._Myval2._Myend;
GameToolbox::getResponse((__int64)v13, (__int64)a3);
v11 = &v8;
v8 = 0;
v9 = 0;
v10 = 0;
v7 = -1;
do
++v7;
while ( Tag[v7] );
sub_14003A930(&v8, Tag, v7);
sub_14003BDB0((__int64)v12, (__int64)v13);
GameLevelManager::handleIt(a1, Myend);
sub_14003A830((__int64)v13);
}