// // KeybindingsLayer::onToggle from 0x10060b5e0 to 0x10060b62e (78 bytes) // // 0 xrefs: // // 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 KeybindingsLayer::onToggle(KeybindingsLayer *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