//
// sub_100159774 from 0x100159774 to 0x1001597e8 (116 bytes)
//
// 4 xrefs:
// > GJTransformControl::dGJTransformControl @ 0x1001597ec
// > sub_1001597F0 @ 0x1001597f4
// > sub_1001597F8 @ 0x100159800
// > sub_10015980C @ 0x100159818
//
// 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 10:59:43 +0000
//
__int64 __fastcall sub_100159774(_QWORD *a1)
{
_DWORD *v2; // x0
_DWORD *v3; // x0
void *v4; // x0
*a1 = off_1008E1DA8;
a1[40] = off_1008E2238;
a1[41] = &off_1008E22A8;
a1[42] = off_1008E22C0;
a1[43] = &off_1008E22E0;
a1[44] = off_1008E2308;
v2 = (_DWORD *)a1[64];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (_DWORD *)a1[53];
if ( v3 )
cocos2d::CCObject::release(v3);
v4 = (void *)a1[70];
if ( v4 )
{
a1[71] = v4;
operator delete(v4);
}
return cocos2d::CCLayer::dCCLayer(a1);
}