//
// ParentalGateLayer::init from 0x1404d3ca0 to 0x1404d3cf6 (86 bytes)
//
// 5 xrefs:
// > ParentalGateLayer::create @ 0x1404d3c5a
// > ParentalGateLayer::create @ 0x1404d3c61
// > ParentalGateLayer::create @ 0x1404d3c4b
// > ??> @ 0x1407cef80
// > ??> @ 0x140929840
//
// 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
//
bool __fastcall ParentalGateLayer::init(__int64 a1)
{
bool result; // al
result = NumberInputLayer::init(a1);
if ( result )
{
(**(void (__fastcall ***)(__int64, const char *))(*(_QWORD *)(a1 + 672) + 360LL))(
*(_QWORD *)(a1 + 672) + 360LL,
"Parental Control");
*(_DWORD *)(a1 + 688) = 3;
*(_DWORD *)(a1 + 692) = 4;
ParentalGateLayer::generateChallenge(a1);
return 1;
}
return result;
}