//
// AchievementManager::areAchievementsEarned from 0x643220 to 0x64328c (108 bytes)
//
// 1 xrefs:
// > ??> @ 0x7b3d0
//
// 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
//
bool __fastcall AchievementManager::areAchievementsEarned(AchievementManager *this, cocos2d::CCArray *a2)
{
unsigned int v4; // w19
cocos2d::CCString *v5; // x0
const char *CString; // x0
_BOOL8 result; // x0
bool v8; // cf
unsigned int v9; // w1
v4 = 0;
while ( 1 )
{
v8 = v4 >= (unsigned int)cocos2d::CCArray::count(a2);
v9 = v4++;
if ( v8 )
break;
v5 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(a2, v9);
CString = (const char *)cocos2d::CCString::getCString(v5);
result = AchievementManager::isAchievementEarned(this, CString);
if ( !result )
return result;
}
return 1;
}