// // ParentalOptionsLayer::onToggle from 0x8f3d4c to 0x8f3dc4 (120 bytes) // // 4 xrefs: // > ParentalOptionsLayer::onMasterToggle @ 0x8f3ddc // > @ 0xa6c18 // > ParentalOptionsLayer::addToggle @ 0x8f26ec // > @ 0x1544ae0 // // 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:59 +0000 // __int64 __fastcall ParentalOptionsLayer::onToggle(cocos2d::CCDictionary **this, cocos2d::CCObject *a2) { int v3; // w0 GameManager *v4; // x20 GameManager *v5; // x0 GameManager *v6; // x0 unsigned __int8 v7; // w21 GameManager *v8; // x22 char *CString; // x0 v3 = (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2); v4 = (GameManager *)cocos2d::CCDictionary::objectForKey(*(this + 86), v3); v5 = (GameManager *)GameManager::sharedState(v4); v6 = (GameManager *)GameManager::privacyPushWanted(v5); v7 = (unsigned __int8)v6; if ( v4 ) { v8 = (GameManager *)GameManager::sharedState(v6); CString = (char *)cocos2d::CCString::getCString(v4); GameManager::toggleGameVariable(v8, CString); } return ParentalOptionsLayer::applyPrivacyPushEdge((ParentalOptionsLayer *)this, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source