// // GameLevelManager::markItemAsLiked from 0x4b2dd8 to 0x4b2e7e (166 bytes) // // 1 xrefs: // > GameLevelManager::likeItem @ 0x4c0408 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:50:04 +0000 // int __fastcall GameLevelManager::markItemAsLiked(int a1, const char *a2) { char *LikeAccountItemKey; // r0 int v6[3]; // [sp+8h] [bp-10h] BYREF if ( cocos2d::CCDictionary::count(*(cocos2d::CCDictionary **)(a1 + 564)) >= 0x3E8u ) { cocos2d::CCDictionary::getFirstKey((cocos2d::CCDictionary *)v6); cocos2d::CCDictionary::removeObjectForKey(*(cocos2d::CCDictionary **)(a1 + 564)); std::string::~string((int)v6); } memset(v6, 0, sizeof(v6)); if ( a2 == (_BYTE *)&dword_0 + 3 ) LikeAccountItemKey = (char *)GameLevelManager::getLikeAccountItemKey(a1, (_BYTE *)&dword_0 + 3); else LikeAccountItemKey = (char *)GameLevelManager::getLikeItemKey(a1, a2); std::string::assign(v6, LikeAccountItemKey); cocos2d::CCDictionary::setObject(*(_DWORD *)(a1 + 564), *(cocos2d::CCObject **)(a1 + 968)); return std::string::~string((int)v6); }
GD Web Decomp Icon

GD Web Decomp

Raw Source