//
// achievementStrCompare from 0x3961a0 to 0x396236 (150 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:46:20 +0000
//
int __fastcall achievementStrCompare(int *a1, int *a2)
{
int v2; // r7
int v3; // r8
cocos2d::CCString *v4; // r0
const char *CString; // r0
const char *v6; // r7
cocos2d::CCString *v7; // r0
const char *v8; // r0
int v9; // r7
int v11[3]; // [sp+4h] [bp-1Ch] BYREF
int v12[3]; // [sp+10h] [bp-10h] BYREF
v2 = *a1;
v3 = *a2;
memset(v11, 0, sizeof(v11));
std::string::__init(v11, "icon", 4u);
v4 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v2, v11);
CString = (const char *)cocos2d::CCString::getCString(v4);
memset(v12, 0, sizeof(v12));
v6 = CString;
std::string::__init(v12, "icon", 4u);
v7 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(v3, v12);
v8 = (const char *)cocos2d::CCString::getCString(v7);
v9 = strcmp(v6, v8);
std::string::~string((int)v12);
std::string::~string((int)v11);
return v9;
}