//
// sub_10037909C from 0x10037909c to 0x100379164 (200 bytes)
//
// 4 xrefs:
// > GJMessagePopup::dGJMessagePopup @ 0x100379168
// > sub_10037916C @ 0x100379170
// > sub_100379174 @ 0x10037917c
// > sub_100379188 @ 0x100379194
//
// 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:03:26 +0000
//
__int64 __fastcall sub_10037909C(_QWORD *a1)
{
_DWORD *v2; // x0
*a1 = off_100934FD8;
a1[40] = off_100935558;
a1[41] = &off_1009355C8;
a1[42] = off_1009355E0;
a1[43] = off_100935600;
a1[44] = off_100935628;
a1[51] = off_100935658;
a1[54] = off_1009356D8;
a1[68] = off_1009356F8;
a1[83] = off_100935740;
a1[84] = &off_100935760;
a1[85] = &off_100935778;
a1[86] = off_100935790;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1360) == a1 + 83 )
*(_QWORD *)(GameLevelManager::sharedState() + 1360) = 0;
if ( *(_QWORD **)(GameLevelManager::sharedState() + 1392) == a1 + 86 )
*(_QWORD *)(GameLevelManager::sharedState() + 1392) = 0;
v2 = (_DWORD *)a1[89];
if ( v2 )
cocos2d::CCObject::release(v2);
return sub_10034A834((__int64)a1);
}