// // GameStatsManager::getSecretChestForItem from 0x10032baec to 0x10032bb40 (84 bytes) // // 2 xrefs: // > GameStatsManager::generateItemUnlockableData @ 0x10032b8f8 // > GameStatsManager::isItemUnlocked @ 0x10032fc90 // // 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 // // local variable allocation has failed, the output may be wrong! int __fastcall GameStatsManager::getSecretChestForItem(GameStatsManager *a1, int a2, UnlockType a3) { cocos2d::CCDictionary *m_allTreasureRoomChestItems; // x19 cocos2d::CCString *v4; // x0 int v5; // w19 void *__p[2]; // [xsp+8h] [xbp-28h] BYREF char v8; // [xsp+1Fh] [xbp-11h] m_allTreasureRoomChestItems = a1->m_allTreasureRoomChestItems; GameStatsManager::getItemKey(__p, a1, *(_QWORD *)&a2, *(_QWORD *)&a3); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(m_allTreasureRoomChestItems, __p); v5 = cocos2d::CCString::intValue(v4); if ( v8 < 0 ) operator delete(__p[0]); return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source