//
// sub_1000DC834 from 0x1000dc834 to 0x1000dc8e4 (176 bytes)
//
// 1 xrefs:
// > AchievementManager::getAllAchievementsSorted @ 0x10010dcbc
//
// 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:59 +0000
//
__int64 __fastcall sub_1000DC834(__int64 *a1, __int64 *a2)
{
__int64 v2; // x20
__int64 v3; // x19
__int64 v4; // x0
float v5; // s8
__int64 v6; // x0
float v7; // s9
void *__p[2]; // [xsp+8h] [xbp-38h] BYREF
char v10; // [xsp+1Fh] [xbp-21h]
v2 = *a1;
v3 = *a2;
sub_100009900(__p, "order");
v4 = cocos2d::CCDictionary::valueForKey(v2, __p);
v5 = cocos2d::CCString::floatValue(v4);
if ( v10 < 0 )
operator delete(__p[0]);
sub_100009900(__p, "order");
v6 = cocos2d::CCDictionary::valueForKey(v3, __p);
v7 = cocos2d::CCString::floatValue(v6);
if ( v10 < 0 )
operator delete(__p[0]);
return (unsigned int)(int)(float)((float)(v5 * 1000.0) - (float)(v7 * 1000.0));
}