//
// sub_100391050 from 0x100391050 to 0x100391101 (177 bytes)
//
// 4 xrefs:
// > sub_100391110 @ 0x100391115
// > sub_100391120 @ 0x10039112c
// > sub_100391140 @ 0x100391149
// > sub_100391160 @ 0x100391173
//
// 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:29:13 +0000
//
__int64 __fastcall sub_100391050(_QWORD *a1)
{
__int64 v2; // rdi
__int64 v3; // rdi
__int64 v4; // rdi
__int64 v5; // rdi
__int64 v6; // rdi
__int64 v7; // rdi
*a1 = off_100B30408;
a1[40] = off_100B308F0;
a1[43] = off_100B30970;
a1[75] = off_100B309A0;
v2 = a1[80];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[81];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = a1[82];
if ( v4 )
cocos2d::CCObject::release(v4);
v5 = a1[83];
if ( v5 )
cocos2d::CCObject::release(v5);
v6 = a1[84];
if ( v6 )
cocos2d::CCObject::release(v6);
v7 = a1[78];
if ( v7 )
cocos2d::CCObject::release(v7);
return sub_100274100(a1);
}