//
// SecretLayer::create from 0x1003bd024 to 0x1003bd0d8 (180 bytes)
//
// 1 xrefs:
// > SecretLayer::scene @ 0x1003bcffc
//
// 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
//
SecretLayer *__fastcall SecretLayer::create()
{
char *v0; // x19
v0 = (char *)operator new(0x1E8u);
cocos2d::CCLayer::CCLayer((__int64)v0);
*(_QWORD *)v0 = off_100811258;
*((_QWORD *)v0 + 40) = off_1008116F8;
*((_QWORD *)v0 + 41) = &off_100811768;
*((_QWORD *)v0 + 42) = off_100811780;
*((_QWORD *)v0 + 43) = &off_1008117A0;
*((_QWORD *)v0 + 44) = off_1008117C0;
*((_QWORD *)v0 + 51) = off_1008117E8;
*((_QWORD *)v0 + 52) = &off_100811830;
*((_DWORD *)v0 + 106) = -1;
*((_QWORD *)v0 + 59) = 0;
*(_QWORD *)(v0 + 436) = 0;
*(_QWORD *)(v0 + 428) = 0;
*((_QWORD *)v0 + 56) = 0;
*((_QWORD *)v0 + 57) = 0;
*((_DWORD *)v0 + 120) = -1;
if ( SecretLayer::init((SecretLayer *)v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v0 + 16LL))(v0);
return nullptr;
}
return (SecretLayer *)v0;
}