; ; AchievementManager::isAchievementAvailable from 0x2da394 to 0x2da3ea (86 bytes) ; ; 2 xrefs: ; > GJGarageLayer::achievementForUnlock @ 0x402b3a ; > GameStatsManager::getItemUnlockStateLite @ 0x41cbd4 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH {R0-R6,LR} ; +0x0, 0x2da394 LDR R5, =(__stack_chk_guard_ptr - 0x2DA39E) ; +0x2, 0x2da396 LDR R1, [R1]; char * ; +0x4, 0x2da398 ADD R5, PC; __stack_chk_guard_ptr ; +0x6, 0x2da39a LDR R5, [R5]; __stack_chk_guard ; +0x8, 0x2da39c LDR R3, [R5] ; +0xa, 0x2da39e STR R3, [SP,#0x10+var_4] ; +0xc, 0x2da3a0 BL _ZN18AchievementManager21getAchievementsWithIDEPKc; AchievementManager::getAchievementsWithID(char const*) ; +0xe, 0x2da3a2 MOV R4, R0 ; +0x12, 0x2da3a6 CBZ R0, loc_2DA3D8 ; +0x14, 0x2da3a8 ADD R6, SP, #0x10+var_8 ; +0x16, 0x2da3aa LDR R1, =(aUn - 0x2DA3B4); "un" ; +0x18, 0x2da3ac ADD R2, SP, #0x10+var_C ; +0x1a, 0x2da3ae ADD R1, PC; "un" ; +0x1c, 0x2da3b0 MOV R0, R6; int ; +0x1e, 0x2da3b2 BL sub_776584 ; +0x20, 0x2da3b4 MOV R0, R4 ; +0x24, 0x2da3b8 MOV R1, R6 ; +0x26, 0x2da3ba BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x28, 0x2da3bc CLZ.W R4, R0 ; +0x2c, 0x2da3c0 MOV R0, R6 ; +0x30, 0x2da3c4 LSRS R4, R4, #5 ; +0x32, 0x2da3c6 BL sub_774008 ; +0x34, 0x2da3c8 B loc_2DA3D8 ; +0x38, 0x2da3cc MOV R0, R6 ; +0x3a, 0x2da3ce BL sub_774008 ; +0x3c, 0x2da3d0 BL __cxa_end_cleanup ; +0x40, 0x2da3d4 LDR R2, [SP,#0x10+var_4] ; +0x44, 0x2da3d8 MOV R0, R4 ; +0x46, 0x2da3da LDR R3, [R5] ; +0x48, 0x2da3dc CMP R2, R3 ; +0x4a, 0x2da3de BEQ loc_2DA3E6 ; +0x4c, 0x2da3e0 BLX __stack_chk_fail ; +0x4e, 0x2da3e2 ADD SP, SP, #0x10 ; +0x52, 0x2da3e6 POP {R4-R6,PC} ; +0x54, 0x2da3e8