//
// AchievementNotifier::notifyAchievement from 0x395e54 to 0x395e82 (46 bytes)
//
// 2 xrefs:
// > AchievementManager::notifyAchievement @ 0x3960de
// > AchievementManager::notifyAchievementWithID @ 0x3b85a6
//
// 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:19 +0000
//
FMODAudioEngine *__fastcall AchievementNotifier::notifyAchievement(
cocos2d::CCArray **this,
AchievementBar *a2,
const char *a3,
const char *a4,
bool a5)
{
cocos2d::CCObject *v6; // r0
FMODAudioEngine *result; // r0
bool savedregs; // [sp+0h] [bp+0h]
v6 = (cocos2d::CCObject *)AchievementBar::create(a2, a3, a4, (const char *)a5, savedregs);
result = (FMODAudioEngine *)cocos2d::CCArray::addObject(*(this + 67), v6);
if ( !*(this + 68) )
return AchievementNotifier::showNextAchievement(this);
return result;
}