// // ParentalOptionsLayer::updateToggleStates from 0x8f0128 to 0x8f01a0 (120 bytes) // // 3 xrefs: // > ParentalOptionsLayer::onMasterToggle @ 0x8f3dec // > ParentalOptionsLayer::init @ 0x8f6da4 // > @ 0xb2ca8 // // 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:57 +0000 // __int64 __fastcall ParentalOptionsLayer::updateToggleStates(cocos2d::CCArray **this) { GameManager *v2; // x0 GameManager *v3; // x0 unsigned __int8 v4; // w20 GameManager *v5; // x0 unsigned __int8 v6; // w21 CCMenuItemToggler *v7; // x0 CCMenuItemToggler *v8; // x0 v2 = (GameManager *)GameManager::sharedState((GameManager *)this); v3 = (GameManager *)GameManager::offlineModeEnabled(v2); v4 = (unsigned __int8)v3; v5 = (GameManager *)GameManager::sharedState(v3); v6 = GameManager::safeModeEnabled(v5); v7 = *(this + 87); if ( v7 ) CCMenuItemToggler::toggle(v7, v6); v8 = *(this + 88); if ( v8 ) CCMenuItemToggler::toggle(v8, v4); ParentalOptionsLayer::applyToggleLock((ParentalOptionsLayer *)this, *(this + 90), v4); return ParentalOptionsLayer::applyToggleLock((ParentalOptionsLayer *)this, *(this + 91), v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source