//
// GJMultiplayerManager::onProcessHttpRequestCompleted from 0x1002665e4 to 0x1002666b0 (204 bytes)
//
// 1 xrefs:
// > GJMultiplayerManager::ProcessHttpRequest @ 0x1002664d8
//
// This function is hookable on this platform (idp: arm, 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:01:41 +0000
//
void __fastcall GJMultiplayerManager::onProcessHttpRequestCompleted(int a1, __int64 a2, __int64 a3)
{
__int64 v4; // x8
char *v5; // x21
void *__p; // [xsp+8h] [xbp-68h] BYREF
char v7; // [xsp+1Fh] [xbp-51h]
std::string __dst; // [xsp+20h] [xbp-50h] BYREF
std::string v9; // [xsp+38h] [xbp-38h] BYREF
v4 = *(_QWORD *)(a3 + 56);
v5 = (char *)(v4 + 112);
if ( *(char *)(v4 + 135) < 0 )
v5 = *(char **)v5;
GameToolbox::getResponse(a3, &v9);
if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )
sub_1000097D0(&__dst, v9.__r_.__value_.__l.__data_, v9.__r_.__value_.__l.__size_);
else
__dst = v9;
sub_100009900(&__p, v5);
GJMultiplayerManager::handleIt(a1, 1, &__dst);
if ( v7 < 0 )
operator delete(__p);
if ( SHIBYTE(__dst.__r_.__value_.__r.__words[2]) < 0 )
operator delete(__dst.__r_.__value_.__l.__data_);
if ( SHIBYTE(v9.__r_.__value_.__r.__words[2]) < 0 )
operator delete(v9.__r_.__value_.__l.__data_);
}