//
// SecretNumberLayer::create from 0x14057f540 to 0x14057f5fa (186 bytes)
//
// 3 xrefs:
// > SecretLayer2::onSubmit @ 0x14057c45e
// > ??> @ 0x14092c93c
// > ??> @ 0x14092c948
//
// This function is hookable on this platform (idp: pc, 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 11:34:25 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCLayer *SecretNumberLayer::create()
{
cocos2d::CCLayer *v0; // rbx
v0 = (cocos2d::CCLayer *)operator new(0x198u);
cocos2d::CCLayer::CCLayer(v0);
*(_QWORD *)v0 = &SecretNumberLayer::`vftable';
*((_QWORD *)v0 + 40) = &SecretNumberLayer::`vftable';
*((_QWORD *)v0 + 41) = &SecretNumberLayer::`vftable';
*((_QWORD *)v0 + 42) = &SecretNumberLayer::`vftable';
*((_QWORD *)v0 + 43) = &SecretNumberLayer::`vftable';
*((_QWORD *)v0 + 44) = &SecretNumberLayer::`vftable';
if ( cocos2d::CCLayer::init(v0) )
{
cocos2d::CCObject::autorelease(v0);
return v0;
}
else
{
(*(void (__fastcall **)(cocos2d::CCLayer *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);
return nullptr;
}
}