; ; AchievementManager::reportAchievementWithID from 0x3befdc to 0x3bf082 (166 bytes) ; ; 1 xrefs: ; > GameManager::reportAchievementWithID @ 0x4192f8 ; ; 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.W {R4-R11,LR} ; +0x0, 0x3befdc MOV R9, R3 ; +0x4, 0x3befe0 LDR R5, =(__stack_chk_guard_ptr - 0x3BEFEE) ; +0x6, 0x3befe2 SUB SP, SP, #0x14 ; +0x8, 0x3befe4 MOV R8, R0 ; +0xa, 0x3befe6 MOV R7, R1 ; +0xc, 0x3befe8 ADD R5, PC; __stack_chk_guard_ptr ; +0xe, 0x3befea LDR R5, [R5]; __stack_chk_guard ; +0x10, 0x3befec MOV R6, R2 ; +0x12, 0x3befee LDR R3, [R5] ; +0x14, 0x3beff0 STR R3, [SP,#0x14+var_8] ; +0x16, 0x3beff2 BL _ZN18AchievementManager19isAchievementEarnedEPKc; AchievementManager::isAchievementEarned(char const*) ; +0x18, 0x3beff4 MOV R4, R0 ; +0x1c, 0x3beff8 CBNZ R0, loc_3BF070 ; +0x1e, 0x3beffa MOV R0, R8; this ; +0x20, 0x3beffc MOV R1, R7; char * ; +0x22, 0x3beffe BL _ZN18AchievementManager21percentForAchievementEPKc; AchievementManager::percentForAchievement(char const*) ; +0x24, 0x3bf000 CMP R6, R0 ; +0x28, 0x3bf004 BLE loc_3BF050 ; +0x2a, 0x3bf006 CMP R6, #0x64 ; 'd' ; +0x2c, 0x3bf008 LDR R0, =(aI - 0x3BF018); "%i" ; +0x2e, 0x3bf00a LDR.W R11, [R8,#0x118] ; +0x30, 0x3bf00c IT GE ; +0x34, 0x3bf010 MOVGE R6, #dword_64 ; +0x36, 0x3bf012 ADD R0, PC; "%i" ; +0x38, 0x3bf014 MOV R1, R6; char * ; +0x3a, 0x3bf016 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3c, 0x3bf018 STR R4, [SP,#0x14+var_14] ; +0x40, 0x3bf01c STR R4, [SP,#0x14+var_10] ; +0x42, 0x3bf01e STR R4, [SP,#0x14+var_C] ; +0x44, 0x3bf020 MOV R4, SP ; +0x46, 0x3bf022 MOV R10, R0 ; +0x48, 0x3bf024 MOV R0, R7; char * ; +0x4a, 0x3bf026 BLX strlen ; +0x4c, 0x3bf028 MOV R1, R7 ; +0x50, 0x3bf02c MOV R2, R0 ; +0x52, 0x3bf02e MOV R0, SP ; +0x54, 0x3bf030 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x56, 0x3bf032 MOV R0, R11; int ; +0x5a, 0x3bf036 MOV R1, R10; this ; +0x5c, 0x3bf038 MOV R2, SP ; +0x5e, 0x3bf03a BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x60, 0x3bf03c MOV R0, SP ; +0x64, 0x3bf040 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x66, 0x3bf042 MOV R0, R8; this ; +0x6a, 0x3bf046 MOV R1, R7; char * ; +0x6c, 0x3bf048 MOV R2, R6; int ; +0x6e, 0x3bf04a BL _ZN18AchievementManager31reportPlatformAchievementWithIDEPKci; AchievementManager::reportPlatformAchievementWithID(char const*,int) ; +0x70, 0x3bf04c CMP R6, #0x63 ; 'c' ; +0x74, 0x3bf050 BLE loc_3BF070 ; +0x76, 0x3bf052 CMP.W R9, #0 ; +0x78, 0x3bf054 BNE loc_3BF070 ; +0x7c, 0x3bf058 BL _ZN18AchievementManager11sharedStateEv; AchievementManager::sharedState(void) ; +0x7e, 0x3bf05a MOV R1, R7; char * ; +0x82, 0x3bf05e BL _ZN18AchievementManager23notifyAchievementWithIDEPKc; AchievementManager::notifyAchievementWithID(char const*) ; +0x84, 0x3bf060 B loc_3BF070 ; +0x88, 0x3bf064 MOV R0, R4 ; +0x8a, 0x3bf066 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x8c, 0x3bf068 BL __cxa_end_cleanup ; +0x90, 0x3bf06c LDR R2, [SP,#0x14+var_8] ; +0x94, 0x3bf070 LDR R3, [R5] ; +0x96, 0x3bf072 CMP R2, R3 ; +0x98, 0x3bf074 BEQ loc_3BF07C ; +0x9a, 0x3bf076 BLX __stack_chk_fail ; +0x9c, 0x3bf078 ADD SP, SP, #0x14 ; +0xa0, 0x3bf07c POP.W {R4-R11,PC} ; +0xa2, 0x3bf07e