; ; AchievementNotifier::showNextAchievement from 0x14003d720 to 0x14003d876 (342 bytes) ; ; 3 xrefs: ; > AchievementNotifier::notifyAchievement @ 0x14003d706 ; > AchievementNotifier::achievementDisplayFinished @ 0x14003d8c3 ; > @ 0x14090f0ec ; ; This function is hookable on this platform (idp: pc, 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:25:28 +0000 ; push rbx ; +0x0, 0x14003d720 sub rsp, 50h ; +0x2, 0x14003d722 mov rbx, rcx ; +0x6, 0x14003d726 mov rcx, [rcx+148h] ; +0x9, 0x14003d729 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x10, 0x14003d730 test eax, eax ; +0x16, 0x14003d736 jnz short loc_14003D748 ; +0x18, 0x14003d738 xor eax, eax ; +0x1a, 0x14003d73a mov cs:dword_14090BF48, eax ; +0x1c, 0x14003d73c add rsp, 50h ; +0x22, 0x14003d742 pop rbx ; +0x26, 0x14003d746 retn ; +0x27, 0x14003d747 lea rax, [rsp+58h+var_28] ; +0x28, 0x14003d748 mov [rsp+58h+arg_0], rax ; +0x2d, 0x14003d74d xorps xmm0, xmm0 ; +0x32, 0x14003d752 movups [rsp+58h+var_28], xmm0 ; +0x35, 0x14003d755 xor eax, eax ; +0x3a, 0x14003d75a mov [rsp+58h+var_18], rax ; +0x3c, 0x14003d75c mov [rsp+58h+var_10], rax ; +0x41, 0x14003d761 mov ecx, 20h ; ' ' ; +0x46, 0x14003d766 call sub_14003D460 ; +0x4b, 0x14003d76b mov qword ptr [rsp+58h+var_28], rax ; +0x50, 0x14003d770 mov [rsp+58h+var_18], 12h ; +0x55, 0x14003d775 mov [rsp+58h+var_10], 1Fh ; +0x5e, 0x14003d77e movups xmm0, cs:xmmword_140704A70 ; +0x67, 0x14003d787 movups xmmword ptr [rax], xmm0 ; +0x6e, 0x14003d78e movzx ecx, cs:word_140704A80 ; +0x71, 0x14003d791 mov [rax+10h], cx ; +0x78, 0x14003d798 mov byte ptr [rax+12h], 0 ; +0x7c, 0x14003d79c mov rcx, cs:qword_14090BF60 ; +0x80, 0x14003d7a0 test rcx, rcx ; +0x87, 0x14003d7a7 jnz short loc_14003D7DE ; +0x8a, 0x14003d7aa mov ecx, 8A8h; Size ; +0x8c, 0x14003d7ac call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x91, 0x14003d7b1 mov [rsp+58h+arg_8], rax ; +0x96, 0x14003d7b6 mov rcx, rax ; +0x9b, 0x14003d7bb call FMODAudioEngine__FMODAudioEngine ; +0x9e, 0x14003d7be nop ; +0xa3, 0x14003d7c3 mov cs:qword_14090BF60, rax ; +0xa4, 0x14003d7c4 mov rcx, [rax] ; +0xab, 0x14003d7cb mov rdx, [rcx+48h] ; +0xae, 0x14003d7ce mov rcx, rax ; +0xb2, 0x14003d7d2 call rdx ; +0xb5, 0x14003d7d5 mov rcx, cs:qword_14090BF60 ; +0xb7, 0x14003d7d7 movd xmm2, cs:dword_14090BF48 ; +0xbe, 0x14003d7de cvtdq2ps xmm2, xmm2 ; +0xc6, 0x14003d7e6 mulss xmm2, cs:dword_140834DDC ; +0xc9, 0x14003d7e9 addss xmm2, cs:flt_140835080 ; +0xd1, 0x14003d7f1 movss xmm0, cs:dword_140834EA0 ; +0xd9, 0x14003d7f9 movss [rsp+58h+var_38], xmm0 ; +0xe1, 0x14003d801 xorps xmm3, xmm3 ; +0xe7, 0x14003d807 lea rdx, [rsp+58h+var_28] ; +0xea, 0x14003d80a call FMODAudioEngine__playEffect ; +0xef, 0x14003d80f inc cs:dword_14090BF48 ; +0xf4, 0x14003d814 xor edx, edx ; +0xfa, 0x14003d81a mov rcx, [rbx+148h] ; +0xfc, 0x14003d81c call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x103, 0x14003d823 mov [rbx+150h], rax ; +0x109, 0x14003d829 mov rcx, rax ; +0x110, 0x14003d830 call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x113, 0x14003d833 mov r8b, 1 ; +0x119, 0x14003d839 xor edx, edx ; +0x11c, 0x14003d83c mov rcx, [rbx+148h] ; +0x11e, 0x14003d83e call cs:?removeObjectAtIndex@CCArray@cocos2d@@QEAAXI_N@Z; cocos2d::CCArray::removeObjectAtIndex(uint,bool) ; +0x125, 0x14003d845 mov rcx, [rbx+140h] ; +0x12b, 0x14003d84b test rcx, rcx ; +0x132, 0x14003d852 jz short loc_14003D865 ; +0x135, 0x14003d855 mov rax, [rbx+150h] ; +0x137, 0x14003d857 mov [rax+168h], rcx ; +0x13e, 0x14003d85e mov rcx, [rbx+150h] ; +0x145, 0x14003d865 add rsp, 50h ; +0x14c, 0x14003d86c pop rbx ; +0x150, 0x14003d870 jmp AchievementBar__show ; +0x151, 0x14003d871