//
// AchievementManager::notifyAchievement from 0x643588 to 0x6435c8 (64 bytes)
//
// 2 xrefs:
// > GameStatsManager::incrementChallenge @ 0x8d86ec
// > ??> @ 0xab6e8
//
// 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 AchievementManager::notifyAchievement(
AchievementManager *this,
AchievementBar *a2,
const char *a3,
const char *a4)
{
__int64 result; // x0
cocos2d::CCArray **v5; // x0
result = *((unsigned __int8 *)this + 360);
if ( !(_DWORD)result )
{
v5 = (cocos2d::CCArray **)AchievementNotifier::sharedState((AchievementNotifier *)result);
return AchievementNotifier::notifyAchievement(v5, a2, a3, a4, 1);
}
return result;
}