//
// SecretNumberLayer::create from 0xa90fc0 to 0xa91074 (180 bytes)
//
// 2 xrefs:
// > SecretLayer2::onSubmit @ 0xa91fec
// > ??> @ 0xc9be0
//
// 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:40 +0000
//
cocos2d::CCLayer *__fastcall SecretNumberLayer::create(SecretNumberLayer *this)
{
cocos2d::CCLayer *v1; // x19
v1 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v1);
*(_QWORD *)v1 = &off_1499E60;
*((_QWORD *)v1 + 40) = off_149A2F0;
*((_QWORD *)v1 + 41) = &off_149A360;
*((_QWORD *)v1 + 42) = off_149A378;
*((_QWORD *)v1 + 43) = off_149A398;
*((_QWORD *)v1 + 44) = off_149A3C0;
if ( (unsigned __int8)SecretNumberLayer::init(v1) )
{
cocos2d::CCObject::autorelease(v1);
return v1;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *))(*(_QWORD *)v1 + 16LL))(v1);
return nullptr;
}
}