; ; AchievementManager::limitForAchievement from 0x2da3f4 to 0x2da450 (92 bytes) ; ; 1 xrefs: ; > ItemInfoPopup::init @ 0x404e2a ; ; 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, 0x2da3f4 LDR R4, =(__stack_chk_guard_ptr - 0x2DA3FE) ; +0x2, 0x2da3f6 LDR R1, [R1]; char * ; +0x4, 0x2da3f8 ADD R4, PC; __stack_chk_guard_ptr ; +0x6, 0x2da3fa LDR R4, [R4]; __stack_chk_guard ; +0x8, 0x2da3fc LDR R3, [R4] ; +0xa, 0x2da3fe STR R3, [SP,#0x10+var_4] ; +0xc, 0x2da400 BL _ZN18AchievementManager21getAchievementsWithIDEPKc; AchievementManager::getAchievementsWithID(char const*) ; +0xe, 0x2da402 MOV R6, R0 ; +0x12, 0x2da406 CBNZ R0, loc_2DA40E ; +0x14, 0x2da408 MOVS R0, #0 ; +0x16, 0x2da40a B loc_2DA436 ; +0x18, 0x2da40c ADD R5, SP, #0x10+var_8 ; +0x1a, 0x2da40e LDR R1, =(aLimits - 0x2DA418); "limits" ; +0x1c, 0x2da410 ADD R2, SP, #0x10+var_C ; +0x1e, 0x2da412 ADD R1, PC; "limits" ; +0x20, 0x2da414 MOV R0, R5; int ; +0x22, 0x2da416 BL sub_776584 ; +0x24, 0x2da418 MOV R0, R6 ; +0x28, 0x2da41c MOV R1, R5 ; +0x2a, 0x2da41e BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x2c, 0x2da420 MOV R6, R0 ; +0x30, 0x2da424 MOV R0, R5 ; +0x32, 0x2da426 BL sub_774008 ; +0x34, 0x2da428 CMP R6, #0 ; +0x38, 0x2da42c BEQ loc_2DA40A ; +0x3a, 0x2da42e MOV R0, R6; this ; +0x3c, 0x2da430 BL _ZNK7cocos2d8CCString8intValueEv; cocos2d::CCString::intValue(void) ; +0x3e, 0x2da432 LDR R2, [SP,#0x10+var_4] ; +0x42, 0x2da436 LDR R3, [R4] ; +0x44, 0x2da438 CMP R2, R3 ; +0x46, 0x2da43a BEQ loc_2DA44C ; +0x48, 0x2da43c BLX __stack_chk_fail ; +0x4a, 0x2da43e MOV R0, R5 ; +0x4e, 0x2da442 BL sub_774008 ; +0x50, 0x2da444 BL __cxa_end_cleanup ; +0x54, 0x2da448 ADD SP, SP, #0x10 ; +0x58, 0x2da44c POP {R4-R6,PC} ; +0x5a, 0x2da44e