; ; AchievementManager::isAchievementAvailable from 0x3beda4 to 0x3bee0e (106 bytes) ; ; 2 xrefs: ; > GJGarageLayer::achievementForUnlock @ 0x50c272 ; > GameStatsManager::getItemUnlockStateLite @ 0x528dd4 ; ; 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:29 +0000 ; PUSH {R0-R6,LR} ; +0x0, 0x3beda4 LDR R3, =(__stack_chk_guard_ptr - 0x3BEDAC) ; +0x2, 0x3beda6 ADD R3, PC; __stack_chk_guard_ptr ; +0x4, 0x3beda8 LDR R3, [R3]; __stack_chk_guard ; +0x6, 0x3bedaa LDR R2, [R3] ; +0x8, 0x3bedac MOV R6, R3 ; +0xa, 0x3bedae STR R2, [SP,#0x10+var_4] ; +0xc, 0x3bedb0 LDRB R2, [R1] ; +0xe, 0x3bedb2 TST.W R2, #1 ; +0x10, 0x3bedb4 ITE EQ ; +0x14, 0x3bedb8 ADDEQ R1, #1 ; +0x16, 0x3bedba LDRNE R1, [R1,#8]; char * ; +0x18, 0x3bedbc BL _ZN18AchievementManager21getAchievementsWithIDEPKc; AchievementManager::getAchievementsWithID(char const*) ; +0x1a, 0x3bedbe MOVS R3, #0 ; +0x1e, 0x3bedc2 MOV R4, R0 ; +0x20, 0x3bedc4 CBZ R0, loc_3BEDFC ; +0x22, 0x3bedc6 LDR R1, =(aUn - 0x3BEDD4); "un" ; +0x24, 0x3bedc8 MOV R0, SP ; +0x26, 0x3bedca MOVS R2, #2 ; +0x28, 0x3bedcc STR R3, [SP,#0x10+var_10] ; +0x2a, 0x3bedce ADD R1, PC; "un" ; +0x2c, 0x3bedd0 STR R3, [SP,#0x10+var_C] ; +0x2e, 0x3bedd2 STR R3, [SP,#0x10+var_8] ; +0x30, 0x3bedd4 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x32, 0x3bedd6 MOV R0, R4 ; +0x36, 0x3bedda MOV R1, SP ; +0x38, 0x3beddc MOV R5, SP ; +0x3a, 0x3bedde BL _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x3c, 0x3bede0 CLZ.W R4, R0 ; +0x40, 0x3bede4 MOV R0, SP ; +0x44, 0x3bede8 LSRS R4, R4, #5 ; +0x46, 0x3bedea BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x48, 0x3bedec B loc_3BEDFC ; +0x4c, 0x3bedf0 MOV R0, R5 ; +0x4e, 0x3bedf2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x50, 0x3bedf4 BL __cxa_end_cleanup ; +0x54, 0x3bedf8 LDR R2, [SP,#0x10+var_4] ; +0x58, 0x3bedfc MOV R0, R4 ; +0x5a, 0x3bedfe LDR R3, [R6] ; +0x5c, 0x3bee00 CMP R2, R3 ; +0x5e, 0x3bee02 BEQ loc_3BEE0A ; +0x60, 0x3bee04 BLX __stack_chk_fail ; +0x62, 0x3bee06 ADD SP, SP, #0x10 ; +0x66, 0x3bee0a POP {R4-R6,PC} ; +0x68, 0x3bee0c