//
// ParentalGateLayer::init from 0x100886ce0 to 0x100886d2e (78 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ba59e8
//
// 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 12:36:59 +0000
//
__int64 __fastcall ParentalGateLayer::init(__int64 a1)
{
__int64 result; // rax
unsigned int v2; // r14d
result = NumberInputLayer::init(a1);
if ( (_BYTE)result )
{
v2 = result;
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 672) + 928LL))(
*(_QWORD *)(a1 + 672),
"Parental Control");
*(_QWORD *)(a1 + 688) = 0x400000003LL;
ParentalGateLayer::generateChallenge(a1);
return v2;
}
return result;
}