// // ParentalOptionsLayer::onToggle from 0x100886690 to 0x1008866f9 (105 bytes) // // 2 xrefs: // > sub_100886250 @ 0x100886260 // > sub_100885240 @ 0x10088545f // // This function is hookable on this platform (idp: pc, 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:36:59 +0000 // __int64 __fastcall ParentalOptionsLayer::onToggle(__int64 a1, __int64 a2) { int v2; // eax __int64 v3; // r14 __int64 v4; // rdi unsigned __int8 v5; // bl __int64 v6; // r15 std::string::value_type *CString; // rax v2 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v3 = cocos2d::CCDictionary::objectForKey_1(*(_QWORD *)(a1 + 688), v2); v4 = GameManager::sharedState(); v5 = sub_10036D8A0(v4); if ( v3 ) { v6 = GameManager::sharedState(); CString = (std::string::value_type *)cocos2d::CCString::getCString(v3); v4 = v6; GameManager::toggleGameVariable(v6, CString); } return sub_100886760(v4, v5); }
GD Web Decomp Icon

GD Web Decomp

Raw Source