// // sub_1000CC414 from 0x1000cc414 to 0x1000cc4dc (200 bytes) // // 1 xrefs: // > GameLevelManager::likeItem @ 0x1000cbecc // // 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 10:58:52 +0000 // void __fastcall sub_1000CC414(__int64 a1, int a2, int a3, int a4, int a5) { __int64 v10; // x0 const std::string::value_type *CString; // x0 std::string __p; // [xsp+28h] [xbp-48h] BYREF if ( (unsigned int)cocos2d::CCDictionary::count(*(_QWORD *)(a1 + 800)) >= 0x3E8 ) { cocos2d::CCDictionary::getFirstKey(&__p, *(_QWORD *)(a1 + 800)); cocos2d::CCDictionary::removeObjectForKey(*(_QWORD *)(a1 + 800), (char *)&__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); } memset(&__p, 0, sizeof(__p)); v10 = sub_1003065B0("like_%i_%i_%i_%i", a2, a3, a4, a5); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v10); std::string::assign(&__p, CString); cocos2d::CCDictionary::setObject(*(_QWORD *)(a1 + 800), *(_QWORD *)(a1 + 1512), &__p); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source