//
// achievementStrCompare from 0x643818 to 0x643944 (300 bytes)
//
// 1 xrefs:
// > ??> @ 0x57ac0
//
// 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 achievementStrCompare(__int64 *a1, __int64 *a2)
{
__int64 v2; // x22
__int64 v3; // x23
cocos2d::CCString *v4; // x0
const char *CString; // x22
cocos2d::CCString *v6; // x0
const char *v7; // x0
unsigned int v8; // w20
__int64 v10[2]; // [xsp+48h] [xbp+48h] BYREF
void *v11; // [xsp+58h] [xbp+58h]
__int64 v12[2]; // [xsp+60h] [xbp+60h] BYREF
void *v13; // [xsp+70h] [xbp+70h]
v2 = *a1;
v3 = *a2;
v10[0] = 0;
v10[1] = 0;
v11 = nullptr;
std::string::__init(v10, "icon", 4u);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v2, v10);
CString = (const char *)cocos2d::CCString::getCString(v4);
v12[0] = 0;
v12[1] = 0;
v13 = nullptr;
std::string::__init(v12, "icon", 4u);
v6 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v3, v12);
v7 = (const char *)cocos2d::CCString::getCString(v6);
v8 = strcmp(CString, v7);
if ( (v12[0] & 1) != 0 )
operator delete(v13);
if ( (v10[0] & 1) != 0 )
operator delete(v11);
return v8;
}