// // achievementCompare from 0x2bee58 to 0x2beef0 (152 bytes) // // 0 xrefs: // // 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 // int __fastcall achievementCompare(cocos2d::CCDictionary **a1, cocos2d::CCDictionary **a2) { cocos2d::CCDictionary *v2; // r8 cocos2d::CCDictionary *v3; // r7 cocos2d::CCString *v4; // r0 float v5; // s15 cocos2d::CCString *v6; // r0 float v7; // s18 std::string v9; // [sp+8h] [bp-8h] BYREF v2 = *a1; v3 = *a2; sub_776584((int)&v9, "order"); v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v2, &v9); v5 = cocos2d::CCString::floatValue(v4); sub_774008(&v9); sub_776584((int)&v9, "order"); v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v3, &v9); v7 = cocos2d::CCString::floatValue(v6); sub_774008(&v9); return (int)(float)((float)(v5 * 1000.0) - (float)(v7 * 1000.0)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source