; ; AchievementManager::isAchievementAvailable from 0x100864410 to 0x100864475 (101 bytes) ; ; 2 xrefs: ; > GameStatsManager::getItemUnlockStateLite @ 0x10003d679 ; > GJGarageLayer::achievementForUnlock @ 0x100358de5 ; ; 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, 0x100864410 mov rbp, rsp ; +0x1, 0x100864411 push rbx ; +0x4, 0x100864414 sub rsp, 18h ; +0x5, 0x100864415 test byte ptr [rsi], 1 ; +0x9, 0x100864419 jnz short loc_10086445C ; +0xc, 0x10086441c inc rsi ; +0xe, 0x10086441e call AchievementManager__getAchievementsWithID ; +0x11, 0x100864421 test rax, rax ; +0x16, 0x100864426 jz short loc_10086446A ; +0x19, 0x100864429 mov [rbp+var_20], 4 ; +0x1b, 0x10086442b mov word ptr [rbp+var_1F], 6E75h ; +0x1f, 0x10086442f mov [rbp+var_1F+2], 0 ; +0x25, 0x100864435 lea rsi, [rbp+var_20] ; +0x29, 0x100864439 mov rdi, rax ; +0x2d, 0x10086443d call cocos2d__CCDictionary__objectForKey ; +0x30, 0x100864440 test rax, rax ; +0x35, 0x100864445 setz bl ; +0x38, 0x100864448 test [rbp+var_20], 1 ; +0x3b, 0x10086444b jz short loc_10086446C ; +0x3f, 0x10086444f mov rdi, [rbp+__p]; __p ; +0x41, 0x100864451 call __ZdlPv; operator delete(void *) ; +0x45, 0x100864455 jmp short loc_10086446C ; +0x4a, 0x10086445a mov rsi, [rsi+10h] ; +0x4c, 0x10086445c call AchievementManager__getAchievementsWithID ; +0x50, 0x100864460 test rax, rax ; +0x55, 0x100864465 jnz short loc_10086442B ; +0x58, 0x100864468 xor ebx, ebx ; +0x5a, 0x10086446a mov eax, ebx ; +0x5c, 0x10086446c add rsp, 18h ; +0x5e, 0x10086446e pop rbx ; +0x62, 0x100864472 pop rbp ; +0x63, 0x100864473 retn ; +0x64, 0x100864474