// // OptionsLayer::onParental from 0x8f93dc to 0x8f943c (96 bytes) // // 3 xrefs: // > @ 0xda068 // > OptionsLayer::customSetup @ 0x8f41d8 // > @ 0x1546838 // // 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 OptionsLayer::onParental(OptionsLayer *this, cocos2d::CCObject *a2) { GameManager *v2; // x0 unsigned __int64 GameVariable; // x0 __int64 v4; // x0 GameManager *v6; // x0 __int64 v7; // x0 v2 = (GameManager *)GameManager::sharedState(this); GameVariable = (unsigned __int8)GameManager::getGameVariable(v2, "0228"); if ( (_BYTE)GameVariable && (v6 = (GameManager *)GameManager::sharedState((GameManager *)GameVariable), GameVariable = (unsigned __int8)GameManager::parentalOptionsActive(v6), (_BYTE)GameVariable) ) { v7 = ParentalGateLayer::create((ParentalGateLayer *)GameVariable); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v7 + 1312LL))(v7); } else { v4 = ParentalOptionsLayer::create((ParentalOptionsLayer *)GameVariable); return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v4 + 1312LL))(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source