//
// SecretLayer6::create from 0xbc9340 to 0xbc93f4 (180 bytes)
//
// 2 xrefs:
// > SecretLayer6::scene @ 0xbc9410
// > ??> @ 0x48238
//
// 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:03:33 +0000
//
cocos2d::CCLayer *__fastcall SecretLayer6::create(SecretLayer6 *this)
{
cocos2d::CCLayer *v1; // x19
v1 = (cocos2d::CCLayer *)operator new(0x1A0u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = &off_14E00A0;
*((_QWORD *)v1 + 40) = off_14E0530;
*((_QWORD *)v1 + 41) = &off_14E05A0;
*((_QWORD *)v1 + 42) = off_14E05B8;
*((_QWORD *)v1 + 43) = off_14E05D8;
*((_QWORD *)v1 + 44) = off_14E0600;
if ( (unsigned __int8)SecretLayer6::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}