; ; AchievementManager::limitForAchievement from 0x100864490 to 0x10086450e (126 bytes) ; ; 1 xrefs: ; > ItemInfoPopup::init @ 0x10035b266 ; ; 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 12:36:42 +0000 ; push rbp ; +0x0, 0x100864490 mov rbp, rsp ; +0x1, 0x100864491 push r14 ; +0x4, 0x100864494 push rbx ; +0x6, 0x100864496 sub rsp, 20h ; +0x7, 0x100864497 test byte ptr [rsi], 1 ; +0xb, 0x10086449b jnz short loc_1008644B1 ; +0xe, 0x10086449e inc rsi ; +0x10, 0x1008644a0 call AchievementManager__getAchievementsWithID ; +0x13, 0x1008644a3 xor ebx, ebx ; +0x18, 0x1008644a8 test rax, rax ; +0x1a, 0x1008644aa jnz short loc_1008644C1 ; +0x1d, 0x1008644ad jmp short loc_100864503 ; +0x1f, 0x1008644af mov rsi, [rsi+10h] ; +0x21, 0x1008644b1 call AchievementManager__getAchievementsWithID ; +0x25, 0x1008644b5 xor ebx, ebx ; +0x2a, 0x1008644ba test rax, rax ; +0x2c, 0x1008644bc jz short loc_100864503 ; +0x2f, 0x1008644bf mov [rbp+var_28], 0Ch ; +0x31, 0x1008644c1 mov dword ptr [rbp+var_27], 696D696Ch ; +0x35, 0x1008644c5 mov word ptr [rbp+var_27+4], 7374h ; +0x3c, 0x1008644cc mov [rbp+var_27+6], 0 ; +0x42, 0x1008644d2 lea rsi, [rbp+var_28] ; +0x46, 0x1008644d6 mov rdi, rax ; +0x4a, 0x1008644da call cocos2d__CCDictionary__objectForKey ; +0x4d, 0x1008644dd mov r14, rax ; +0x52, 0x1008644e2 test [rbp+var_28], 1 ; +0x55, 0x1008644e5 jz short loc_1008644F4 ; +0x59, 0x1008644e9 mov rdi, [rbp+__p]; __p ; +0x5b, 0x1008644eb call __ZdlPv; operator delete(void *) ; +0x5f, 0x1008644ef test r14, r14 ; +0x64, 0x1008644f4 jz short loc_100864503 ; +0x67, 0x1008644f7 mov rdi, r14 ; +0x69, 0x1008644f9 call cocos2d__CCString__intValue ; +0x6c, 0x1008644fc mov ebx, eax ; +0x71, 0x100864501 mov eax, ebx ; +0x73, 0x100864503 add rsp, 20h ; +0x75, 0x100864505 pop rbx ; +0x79, 0x100864509 pop r14 ; +0x7a, 0x10086450a pop rbp ; +0x7c, 0x10086450c retn ; +0x7d, 0x10086450d