//
// SecretLayer6::create from 0x6e2be0 to 0x6e2c4e (110 bytes)
//
// 1 xrefs:
// > SecretLayer6::scene @ 0x6e2c62
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:57:22 +0000
//
cocos2d::CCLayer *__fastcall SecretLayer6::create(SecretLayer6 *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
cocos2d::CCLayer *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x140u);
cocos2d::CCLayer::CCLayer(v1);
*(_DWORD *)v1 = &off_CE9D88;
*((_DWORD *)v1 + 66) = &off_CE9FD0;
*((_DWORD *)v1 + 67) = &off_CEA008;
*((_DWORD *)v1 + 68) = &off_CEA014;
*((_DWORD *)v1 + 69) = &off_CEA024;
*((_DWORD *)v1 + 70) = &off_CEA038;
if ( SecretLayer6::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayer *))(v2 + 8))(v3);
}
return v1;
}