// // GameStatsManager::getSecretChestForItem from 0x100066440 to 0x100066491 (81 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 // int __fastcall GameStatsManager::getSecretChestForItem(GameStatsManager *a1, int a2, UnlockType a3) { cocos2d::CCDictionary *m_allTreasureRoomChestItems; // rbx cocos2d::CCString *v4; // rax int result; // eax int v6; // ebx _BYTE v7[16]; // [rsp+8h] [rbp-28h] BYREF void *__p; // [rsp+18h] [rbp-18h] m_allTreasureRoomChestItems = a1->m_allTreasureRoomChestItems; GameStatsManager::getItemKey(v7, a2, (unsigned int)a2, (unsigned int)a3); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(m_allTreasureRoomChestItems, v7); result = cocos2d::CCString::intValue(v4); if ( (v7[0] & 1) != 0 ) { v6 = result; operator delete(__p); return v6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source