//
// sub_10048C130 from 0x10048c130 to 0x10048c216 (230 bytes)
//
// 1 xrefs:
// > ??> @ 0x100b4e898
//
// 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:30:45 +0000
//
__int64 __fastcall sub_10048C130(_QWORD *a1, __int64 a2)
{
_DWORD *v3; // rdi
*(a1 - 40) = off_100B4E310;
*a1 = off_100B4E898;
a1[1] = &off_100B4E908;
a1[2] = off_100B4E920;
a1[3] = off_100B4E940;
a1[4] = off_100B4E968;
a1[11] = off_100B4E998;
a1[14] = off_100B4EA18;
a1[28] = off_100B4EA38;
a1[43] = off_100B4EA80;
a1[44] = &off_100B4EAA0;
if ( *(_QWORD **)(GJAccountManager::sharedState((__int64)a1, a2) + 392) != a1 + 43 )
{
v3 = (_DWORD *)a1[56];
if ( !v3 )
return sub_1004936F0(a1 - 40);
goto LABEL_5;
}
*(_QWORD *)(GJAccountManager::sharedState((__int64)a1, a2) + 392) = 0;
v3 = (_DWORD *)a1[56];
if ( v3 )
LABEL_5:
cocos2d::CCObject::release(v3);
return sub_1004936F0(a1 - 40);
}