//
// SecretLayer4::dSecretLayer4 from 0x100353cc4 to 0x100353d30 (108 bytes)
//
// 4 xrefs:
// > j_SecretLayer4::dSecretLayer4 @ 0x100353d34
// > sub_100353D38 @ 0x100353d3c
// > sub_100353D40 @ 0x100353d48
// > sub_100353D54 @ 0x100353d60
//
// 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 SecretLayer4::dSecretLayer4(_QWORD *a1)
{
cocos2d::CCObject *v2; // x0
*a1 = off_1007F36F0;
a1[40] = off_1007F3B98;
a1[41] = &off_1007F3C08;
a1[42] = off_1007F3C20;
a1[43] = &off_1007F3C40;
a1[44] = off_1007F3C60;
a1[51] = off_1007F3C88;
a1[52] = &off_1007F3CD0;
a1[53] = &off_1007F3CE8;
v2 = (cocos2d::CCObject *)a1[60];
if ( v2 )
cocos2d::CCObject::release(v2);
return cocos2d::CCLayer::dCCLayer(a1);
}