//
// sub_10072B790 from 0x10072b790 to 0x10072b837 (167 bytes)
//
// 1 xrefs:
// > AchievementManager::getAllAchievementsSorted @ 0x100784602
//
// 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
//
__int64 __fastcall sub_10072B790(__int64 *a1, __int64 *a2)
{
__int64 v2; // rdi
__int64 v3; // rbx
cocos2d::CCString *v4; // rax
cocos2d::CCString *v5; // rax
float v6; // xmm0_4
float v8; // [rsp+8h] [rbp-28h]
char v9[16]; // [rsp+10h] [rbp-20h] BYREF
void *__p; // [rsp+20h] [rbp-10h]
v2 = *a1;
v3 = *a2;
strcpy(v9, "\norder");
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(v2, (__int64)v9);
v8 = cocos2d::CCString::floatValue(v4);
if ( (v9[0] & 1) != 0 )
operator delete(__p);
strcpy(v9, "\norder");
v5 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey_1(v3, (__int64)v9);
v6 = cocos2d::CCString::floatValue(v5);
if ( (v9[0] & 1) != 0 )
operator delete(__p);
return (unsigned int)(int)(float)((float)(v8 * 1000.0) - (float)(v6 * 1000.0));
}