//
// SecretLayer2::dSecretLayer2 from 0x1003095f4 to 0x10030966c (120 bytes)
//
// 4 xrefs:
// > j_SecretLayer2::dSecretLayer2 @ 0x100309670
// > sub_100309674 @ 0x100309678
// > sub_10030967C @ 0x100309684
// > sub_100309690 @ 0x10030969c
//
// 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 SecretLayer2::dSecretLayer2(_QWORD *a1)
{
cocos2d::CCObject *v2; // x0
cocos2d::CCObject *v3; // x0
*a1 = off_1007ED678;
a1[40] = off_1007EDB20;
a1[41] = &off_1007EDB90;
a1[42] = off_1007EDBA8;
a1[43] = &off_1007EDBC8;
a1[44] = off_1007EDBE8;
a1[51] = off_1007EDC10;
a1[52] = &off_1007EDC58;
a1[53] = &off_1007EDC70;
v2 = (cocos2d::CCObject *)a1[60];
if ( v2 )
cocos2d::CCObject::release(v2);
v3 = (cocos2d::CCObject *)a1[63];
if ( v3 )
cocos2d::CCObject::release(v3);
return cocos2d::CCLayer::dCCLayer(a1);
}