//
// ParentalOptionsLayer::onLockToggle from 0x8ed66c to 0x8ed688 (28 bytes)
//
// 3 xrefs:
// > ??> @ 0xeffb0
// > ParentalOptionsLayer::init @ 0x8f6e70
// > ??> @ 0x15473f0
//
// 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:56:56 +0000
//
__int64 __fastcall ParentalOptionsLayer::onLockToggle(ParentalOptionsLayer *this, cocos2d::CCObject *a2)
{
GameManager *v2; // x0
v2 = (GameManager *)GameManager::sharedState(this);
return GameManager::toggleGameVariable(v2, "0228");
}