//
// AchievementManager::areAchievementsEarned from 0x3b8184 to 0x3b81b4 (48 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:21 +0000
//
bool __fastcall AchievementManager::areAchievementsEarned(AchievementManager *this, cocos2d::CCArray *a2)
{
unsigned int i; // r4
cocos2d::CCString *v5; // r0
const char *CString; // r0
_BOOL4 result; // r0
for ( i = 0; i < cocos2d::CCArray::count(a2); ++i )
{
v5 = (cocos2d::CCString *)cocos2d::CCArray::objectAtIndex(a2, i);
CString = (const char *)cocos2d::CCString::getCString(v5);
result = AchievementManager::isAchievementEarned(this, CString);
if ( !result )
return result;
}
return 1;
}