// // ParentalOptionsLayer::onToggle from 0x1007a46d0 to 0x1007a471e (78 bytes) // // 1 xrefs: // > ParentalOptionsLayer::addToggle @ 0x1007a3baf // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall ParentalOptionsLayer::onToggle(ParentalOptionsLayer *a1, cocos2d::CCObject *a2) { int v2; // eax cocos2d::CCObject *v3; // rax cocos2d::CCString *v4; // rbx GameManager *v5; // r14 const char *CString; // rax v2 = ((__int64 (__fastcall *)(cocos2d::CCObject *))a2->getTag)(a2); v3 = cocos2d::CCDictionary::objectForKey(a1->m_variables, v2); if ( v3 ) { v4 = (cocos2d::CCString *)v3; v5 = GameManager::sharedState(); CString = cocos2d::CCString::getCString(v4); GameManager::toggleGameVariable(v5, CString); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source