// // GameStatsManager::toggleEnableItem from 0x8e2ab4 to 0x8e2b80 (204 bytes) // // 4 xrefs: // > GJGarageLayer::onToggleItem @ 0x8bac94 // > GameOptionsLayer::onPracticeMusicSync @ 0xa2b90c // > GameSettingsLayer::valueDidChange @ 0xc06ec4 // > @ 0xd8148 // // 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:50 +0000 // __int64 __fastcall GameStatsManager::toggleEnableItem(__int64 a1, unsigned int a2, unsigned int a3, unsigned __int8 a4) { int v4; // w22 __int64 v6; // x21 cocos2d::CCObject *v7; // x0 unsigned __int64 v9[3]; // [xsp+30h] [xbp+30h] BYREF v4 = a4; GameStatsManager::getItemKey(a3, a2, v9); if ( v4 ) { v6 = *(_QWORD *)(a1 + 792); v7 = (cocos2d::CCObject *)cocos2d::CCString::createWithFormat((cocos2d::CCString *)"%i", (const char *)&dword_0 + 1); cocos2d::CCDictionary::setObject(v6, v7); } else { cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 792), v9); } if ( (v9[0] & 1) != 0 ) operator delete((void *)v9[2]); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source