//
// SecretNumberLayer::create from 0x61ac8c to 0x61acfa (110 bytes)
//
// 1 xrefs:
// > SecretLayer2::onSubmit @ 0x61efc8
//
// 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:54:59 +0000
//
cocos2d::CCLayer *__fastcall SecretNumberLayer::create(SecretNumberLayer *this)
{
cocos2d::CCLayer *v1; // r4
int v2; // r3
cocos2d::CCLayer *v3; // r0
v1 = (cocos2d::CCLayer *)operator new(0x13Cu);
cocos2d::CCLayer::CCLayer(v1);
*(_DWORD *)v1 = &off_CC6BF8;
*((_DWORD *)v1 + 66) = &off_CC6E40;
*((_DWORD *)v1 + 67) = &off_CC6E78;
*((_DWORD *)v1 + 68) = &off_CC6E84;
*((_DWORD *)v1 + 69) = &off_CC6E94;
*((_DWORD *)v1 + 70) = &off_CC6EA8;
if ( SecretNumberLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
}
else
{
v2 = *(_DWORD *)v1;
v3 = v1;
v1 = nullptr;
(*(void (__fastcall **)(cocos2d::CCLayer *))(v2 + 8))(v3);
}
return v1;
}