; ; AchievementManager::percentForAchievement from 0x2da180 to 0x2da1ca (74 bytes) ; ; 4 xrefs: ; > AchievementManager::isAchievementEarned @ 0x2da1d2 ; > AchievementManager::reportAchievementWithID @ 0x2da81a ; > GameManager::syncPlatformAchievements @ 0x32239c ; > AchievementCell::loadFromDict @ 0x331268 ; ; 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, 0x2da180 ADD R5, SP, #0x10+var_8 ; +0x2, 0x2da182 LDR R4, =(__stack_chk_guard_ptr - 0x2DA192) ; +0x4, 0x2da184 ADD R2, SP, #0x10+var_C ; +0x6, 0x2da186 LDR.W R6, [R0,#0x118] ; +0x8, 0x2da188 MOV R0, R5; int ; +0xc, 0x2da18c ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x2da18e LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x2da190 LDR R3, [R4] ; +0x12, 0x2da192 STR R3, [SP,#0x10+var_4] ; +0x14, 0x2da194 BL sub_776584 ; +0x16, 0x2da196 MOV R0, R6 ; +0x1a, 0x2da19a MOV R1, R5 ; +0x1c, 0x2da19c BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x1e, 0x2da19e BL _ZNK7cocos2d8CCString8intValueEv; cocos2d::CCString::intValue(void) ; +0x22, 0x2da1a2 MOV R6, R0 ; +0x26, 0x2da1a6 MOV R0, R5 ; +0x28, 0x2da1a8 BL sub_774008 ; +0x2a, 0x2da1aa LDR R2, [SP,#0x10+var_4] ; +0x2e, 0x2da1ae LDR R3, [R4] ; +0x30, 0x2da1b0 MOV R0, R6 ; +0x32, 0x2da1b2 CMP R2, R3 ; +0x34, 0x2da1b4 BEQ loc_2DA1C6 ; +0x36, 0x2da1b6 BLX __stack_chk_fail ; +0x38, 0x2da1b8 MOV R0, R5 ; +0x3c, 0x2da1bc BL sub_774008 ; +0x3e, 0x2da1be BL __cxa_end_cleanup ; +0x42, 0x2da1c2 ADD SP, SP, #0x10 ; +0x46, 0x2da1c6 POP {R4-R6,PC} ; +0x48, 0x2da1c8