//
// ParentalGateLayer::init from 0x8f91b4 to 0x8f9218 (100 bytes)
//
// 3 xrefs:
// > ParentalGateLayer::create @ 0x8f9370
// > ??> @ 0x9d3a8
// > ??> @ 0x1461800
//
// 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 12:57:02 +0000
//
__int64 __fastcall ParentalGateLayer::init(ParentalGateLayer *this)
{
unsigned __int8 v2; // w0
unsigned int v3; // w19
v2 = NumberInputLayer::init(this);
v3 = v2;
if ( v2 )
{
(*(void (__fastcall **)(_QWORD, const char *))(**((_QWORD **)this + 84) + 928LL))(
*((_QWORD *)this + 84),
"Parental Control");
*((_DWORD *)this + 172) = 3;
*((_DWORD *)this + 173) = 4;
ParentalGateLayer::generateChallenge(this);
}
return v3;
}