//
// sub_10031E654 from 0x10031e654 to 0x10031e6ac (88 bytes)
//
// 4 xrefs:
// > sub_10031E6B0 @ 0x10031e6b0
// > sub_10031E6B4 @ 0x10031e6b8
// > sub_10031E6BC @ 0x10031e6c4
// > sub_10031E6D0 @ 0x10031e6dc
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_10031E654(_QWORD *a1)
{
cocos2d::CCObject *v2; // x0
*a1 = off_1007EF098;
a1[40] = off_1007EF518;
a1[41] = &off_1007EF588;
a1[42] = off_1007EF5A0;
a1[43] = &off_1007EF5C0;
a1[44] = off_1007EF5E0;
v2 = (cocos2d::CCObject *)a1[52];
if ( v2 )
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(a1);
}