//
// ParentalGateLayer::create from 0x1404d3ba0 to 0x1404d3c93 (243 bytes)
//
// 2 xrefs:
// > OptionsLayer::onParental @ 0x1404cbcf9
// > ??> @ 0x140929834
//
// 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:33:01 +0000
//
// Hidden C++ exception states: #wind=1
_QWORD *ParentalGateLayer::create()
{
_QWORD *v0; // rbx
v0 = operator new(0x308u);
NumberInputLayer::NumberInputLayer((__int64)v0);
*v0 = &ParentalGateLayer::`vftable';
v0[40] = &ParentalGateLayer::`vftable';
v0[41] = &ParentalGateLayer::`vftable';
v0[42] = &ParentalGateLayer::`vftable';
v0[43] = &ParentalGateLayer::`vftable';
v0[44] = &ParentalGateLayer::`vftable';
v0[51] = &ParentalGateLayer::`vftable';
v0[54] = &ParentalGateLayer::`vftable';
v0[68] = &ParentalGateLayer::`vftable';
*((_DWORD *)v0 + 192) = 0;
if ( (unsigned __int8)ParentalGateLayer::init(v0) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);
return v0;
}
else
{
(*(void (__fastcall **)(_QWORD *, __int64))(*v0 + 8LL))(v0, 1);
return nullptr;
}
}