; ; AchievementManager::percentForAchievement from 0x3b8110 to 0x3b816e (94 bytes) ; ; 4 xrefs: ; > AchievementManager::isAchievementEarned @ 0x3b8176 ; > AchievementManager::reportAchievementWithID @ 0x3bf000 ; > GameManager::syncPlatformAchievements @ 0x4152e4 ; > AchievementCell::loadFromDict @ 0x42d0a0 ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; 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 11:46:21 +0000 ; PUSH {R4-R7,LR} ; +0x0, 0x3b8110 SUB SP, SP, #0x14 ; +0x2, 0x3b8112 LDR R4, =(__stack_chk_guard_ptr - 0x3B8122) ; +0x4, 0x3b8114 MOV R6, R1 ; +0x6, 0x3b8116 LDR.W R7, [R0,#0x118] ; +0x8, 0x3b8118 MOV R0, R1; char * ; +0xc, 0x3b811c ADD R4, PC; __stack_chk_guard_ptr ; +0xe, 0x3b811e LDR R4, [R4]; __stack_chk_guard ; +0x10, 0x3b8120 MOV R5, SP ; +0x12, 0x3b8122 LDR R3, [R4] ; +0x14, 0x3b8124 STR R3, [SP,#0x14+var_8] ; +0x16, 0x3b8126 MOVS R3, #0 ; +0x18, 0x3b8128 STR R3, [SP,#0x14+var_14] ; +0x1a, 0x3b812a STR R3, [SP,#0x14+var_10] ; +0x1c, 0x3b812c STR R3, [SP,#0x14+var_C] ; +0x1e, 0x3b812e BLX strlen ; +0x20, 0x3b8130 MOV R1, R6 ; +0x24, 0x3b8134 MOV R2, R0 ; +0x26, 0x3b8136 MOV R0, SP ; +0x28, 0x3b8138 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x2a, 0x3b813a MOV R0, R7 ; +0x2e, 0x3b813e MOV R1, SP ; +0x30, 0x3b8140 BL _ZN7cocos2d12CCDictionary11valueForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x32, 0x3b8142 BL _ZNK7cocos2d8CCString8intValueEv; cocos2d::CCString::intValue(void) ; +0x36, 0x3b8146 MOV R6, R0 ; +0x3a, 0x3b814a MOV R0, SP ; +0x3c, 0x3b814c BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x3e, 0x3b814e LDR R2, [SP,#0x14+var_8] ; +0x42, 0x3b8152 LDR R3, [R4] ; +0x44, 0x3b8154 MOV R0, R6 ; +0x46, 0x3b8156 CMP R2, R3 ; +0x48, 0x3b8158 BEQ loc_3B816A ; +0x4a, 0x3b815a BLX __stack_chk_fail ; +0x4c, 0x3b815c MOV R0, R5 ; +0x50, 0x3b8160 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x52, 0x3b8162 BL __cxa_end_cleanup ; +0x56, 0x3b8166 ADD SP, SP, #0x14 ; +0x5a, 0x3b816a POP {R4-R7,PC} ; +0x5c, 0x3b816c