//
// sub_1002554B0 from 0x1002554b0 to 0x1002555ba (266 bytes)
//
// 4 xrefs:
// > sub_1002555D0 @ 0x1002555d5
// > sub_1002555E0 @ 0x1002555ec
// > sub_100255600 @ 0x100255609
// > sub_100255620 @ 0x100255633
//
// 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:27:25 +0000
//
__int64 __fastcall sub_1002554B0(_QWORD *a1)
{
__int64 v2; // rdi
__int64 v3; // rdi
__int64 v4; // rdi
*a1 = off_100AF1F28;
a1[40] = off_100AF24A8;
a1[41] = &off_100AF2518;
a1[42] = off_100AF2530;
a1[43] = off_100AF2550;
a1[44] = off_100AF2578;
a1[51] = off_100AF25A8;
a1[54] = off_100AF2628;
a1[68] = off_100AF2648;
a1[83] = &off_100AF2690;
a1[84] = &off_100AF26A8;
a1[85] = &off_100AF26C0;
a1[86] = &off_100AF26D8;
a1[87] = &off_100AF26F0;
v2 = a1[102];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1[104];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = a1[105];
if ( v4 )
cocos2d::CCObject::release(v4);
return sub_1004936F0(a1);
}