//
// SecretLayer3::create from 0xa937b8 to 0xa93888 (208 bytes)
//
// 2 xrefs:
// > SecretLayer3::scene @ 0xa938a4
// > ??> @ 0xfc6b8
//
// 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 13:00:41 +0000
//
__int64 __fastcall SecretLayer3::create(SecretLayer3 *this)
{
__int64 v1; // x19
v1 = operator new(0x1D0u);
cocos2d::CCLayer::CCLayer((cocos2d::CCLayer *)v1);
*(_BYTE *)(v1 + 424) = 0;
*(_QWORD *)v1 = &off_149A3F0;
*(_QWORD *)(v1 + 320) = off_149A888;
*(_QWORD *)(v1 + 328) = &off_149A8F8;
*(_QWORD *)(v1 + 336) = off_149A910;
*(_QWORD *)(v1 + 344) = off_149A930;
*(_QWORD *)(v1 + 352) = off_149A958;
*(_QWORD *)(v1 + 408) = &off_149A988;
*(_QWORD *)(v1 + 432) = 0;
*(_QWORD *)(v1 + 440) = 0;
*(_QWORD *)(v1 + 448) = 0;
*(_QWORD *)(v1 + 456) = 0;
if ( (unsigned __int8)SecretLayer3::init((cocos2d::CCArray **)v1) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);
return v1;
}
else
{
(*(void (__fastcall **)(__int64))(*(_QWORD *)v1 + 16LL))(v1);
return 0;
}
}