// // achievementCompare from 0x6436fc to 0x643814 (280 bytes) // // 3 xrefs: // > @ 0x92c80 // > AchievementManager::getAllAchievementsSorted @ 0x678ef0 // > @ 0x1543f10 // // 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:50:18 +0000 // __int64 __fastcall achievementCompare(__int64 *a1, __int64 *a2) { __int64 v2; // x23 __int64 v3; // x22 cocos2d::CCString *v4; // x0 float v5; // s0 float v6; // s9 cocos2d::CCString *v7; // x0 float v8; // s0 float v9; // s8 __int64 v11; // [xsp+50h] [xbp+50h] BYREF __int64 v12; // [xsp+58h] [xbp+58h] void *v13; // [xsp+60h] [xbp+60h] v2 = *a1; v3 = *a2; v11 = 0; v12 = 0; v13 = nullptr; std::string::__init(&v11, "order", 5u); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v2, &v11); cocos2d::CCString::floatValue(v4); v6 = v5 * 1000.0; if ( (v11 & 1) != 0 ) operator delete(v13); v11 = 0; v12 = 0; v13 = nullptr; std::string::__init(&v11, "order", 5u); v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v3, &v11); cocos2d::CCString::floatValue(v7); v9 = v8 * 1000.0; if ( (v11 & 1) != 0 ) operator delete(v13); return (unsigned int)(int)(float)(v6 - v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source