// // AchievementNotifier::showNextAchievement from 0x1002b3158 to 0x1002b323c (228 bytes) // // 2 xrefs: // > AchievementNotifier::notifyAchievement @ 0x1002b3154 // > sub_1002B3258 @ 0x1002b3298 // // 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 11:02:21 +0000 // __int64 __fastcall AchievementNotifier::showNextAchievement(_QWORD *a1) { __int64 result; // x0 __int64 v3; // x20 __int64 v4; // x0 __int64 v5; // x8 __int64 v6; // x0 void *__p[2]; // [xsp+8h] [xbp-38h] BYREF char v8; // [xsp+1Fh] [xbp-21h] result = sub_1002E757C(a1[41]); if ( (_DWORD)result ) { v3 = FMODAudioEngine::sharedEngine(); sub_100009900(__p, "achievement_01.ogg"); FMODAudioEngine::playEffect(v3, (__int64)__p, (float)((float)dword_1009F5A58 * 0.05) + 1.0, 0.0, 0.3); if ( v8 < 0 ) operator delete(__p[0]); ++dword_1009F5A58; v4 = sub_1002E75A0(a1[41], 0); a1[42] = v4; cocos2d::CCObject::retain(v4); sub_1002E7664(a1[41], 0, 1); v5 = a1[40]; v6 = a1[42]; if ( v5 ) *(_QWORD *)(v6 + 360) = v5; return AchievementBar::show(v6); } else { dword_1009F5A58 = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source