// // GameStatsManager::hasClaimedListReward from 0x7a43f8 to 0x7a44f0 (248 bytes) // // 4 xrefs: // > LevelListCell::loadFromList @ 0x61f26c // > GameStatsManager::claimListReward @ 0x7bb6b4 // > LevelListLayer::updateStatsArt @ 0xa74934 // > @ 0xae2b8 // // 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 // bool GameStatsManager::hasClaimedListReward(GameStatsManager *a1, GJLevelList *a2) { cocos2d::CCDictionary *m_completedLists; // x21 bool v3; // zf __int64 *v4; // x0 bool v5; // w20 unsigned int *v7; // x2 int v8; // w1 std::string v9; // [xsp+40h] [xbp+40h] BYREF m_completedLists = a1->m_completedLists; GameStatsManager::getListRewardKey(a1, a2, (__int64)&v9); v3 = cocos2d::CCDictionary::objectForKey(m_completedLists, &v9) == 0; v4 = (__int64 *)((char *)v9.m_data.m_data - 24); v5 = !v3; if ( v4 != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)((char *)v9.m_data.m_data - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *((_DWORD *)v9.m_data.m_data - 2); *((_DWORD *)v9.m_data.m_data - 2) = v8 - 1; } if ( v8 <= 0 ) operator delete(v4); } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source