//
// AchievementNotifier::notifyAchievement from 0x642e48 to 0x642e9c (84 bytes)
//
// 3 xrefs:
// > AchievementManager::notifyAchievement @ 0x6435c4
// > AchievementManager::notifyAchievementWithID @ 0x679528
// > ??> @ 0x84dc0
//
// 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 AchievementNotifier::notifyAchievement(
cocos2d::CCArray **this,
AchievementBar *a2,
const char *a3,
const char *a4,
_BOOL4 a5)
{
cocos2d::CCObject *v6; // x0
__int64 result; // x0
v6 = (cocos2d::CCObject *)AchievementBar::create(a2, a3, a4, (const char *)a5, a5);
cocos2d::CCArray::addObject(*(this + 41), v6);
result = (__int64)*(this + 42);
if ( !result )
return AchievementNotifier::showNextAchievement(this);
return result;
}