// // GameLevelManager::markItemAsLiked from 0x81491c to 0x814a48 (300 bytes) // // 2 xrefs: // > GameLevelManager::likeItem @ 0x82b004 // > @ 0x5d5b0 // // 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:54:54 +0000 // __int64 __fastcall GameLevelManager::markItemAsLiked(__int64 a1, unsigned int a2, unsigned int a3, unsigned __int8 a4) { char *LikeAccountItemKey; // x0 __int64 v10[2]; // [xsp+50h] [xbp+50h] BYREF void *v11; // [xsp+60h] [xbp+60h] if ( (unsigned int)cocos2d::CCDictionary::count(*(cocos2d::CCDictionary **)(a1 + 800)) > 0x3E7 ) { cocos2d::CCDictionary::getFirstKey(v10, *(cocos2d::CCDictionary **)(a1 + 800)); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 800), v10); if ( (v10[0] & 1) != 0 ) operator delete(v11); } v10[0] = 0; v10[1] = 0; v11 = nullptr; if ( a2 == 3 ) LikeAccountItemKey = (char *)GameLevelManager::getLikeAccountItemKey(a1, (_BYTE *)&dword_0 + 3, a3, a4); else LikeAccountItemKey = (char *)GameLevelManager::getLikeItemKey(a1, (const char *)a2, a3, a4); std::string::assign(v10, LikeAccountItemKey); cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 800), *(cocos2d::CCObject **)(a1 + 1512)); if ( (v10[0] & 1) != 0 ) operator delete(v11); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source