// // AchievementManager::areAchievementsEarned from 0x100784f10 to 0x100784f73 (99 bytes) // // 0 xrefs: // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall AchievementManager::areAchievementsEarned(AchievementManager *a1, cocos2d::CCArray *a2) { unsigned int v2; // r15d cocos2d::CCString *v3; // rax const char *CString; // rax int v5; // eax bool v6; // cc bool result; // al if ( !(unsigned int)sub_100720070((__int64)a2) ) return 1; v2 = 0; while ( 1 ) { v3 = (cocos2d::CCString *)sub_1007200C0((__int64)a2, v2); CString = cocos2d::CCString::getCString(v3); v5 = AchievementManager::percentForAchievement(a1, CString); v6 = v5 < 100; result = v5 >= 100; if ( v6 ) break; if ( ++v2 >= (unsigned int)sub_100720070((__int64)a2) ) return 1; } return result; }