//
// sub_100165600 from 0x100165600 to 0x100165678 (120 bytes)
//
// 1 xrefs:
// > ??> @ 0x1008c1f98
//
// 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
//
void __fastcall sub_100165600(_QWORD *a1)
{
cocos2d::CCObject *v2; // rdi
_QWORD *v3; // rbx
*(a1 - 40) = off_1008C1B10;
*a1 = off_1008C1F90;
a1[1] = &off_1008C2000;
a1[2] = off_1008C2018;
a1[3] = off_1008C2038;
a1[4] = off_1008C2058;
v2 = (cocos2d::CCObject *)a1[11];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = a1 - 40;
cocos2d::CCLayer::dCCLayer(v3);
operator delete(v3);
}