; ; AchievementManager::notifyAchievementWithID from 0x2da5e4 to 0x2da6b8 (212 bytes) ; ; 1 xrefs: ; > AchievementManager::reportAchievementWithID @ 0x2da86e ; ; 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 ; LDR R3, =(__stack_chk_guard_ptr - 0x2DA5EE) ; +0x0, 0x2da5e4 PUSH.W {R4-R9,LR} ; +0x2, 0x2da5e6 ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x2da5ea LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x2da5ec SUB SP, SP, #0x1C ; +0xa, 0x2da5ee LDR R2, [R3] ; +0xc, 0x2da5f0 MOV R7, R3 ; +0xe, 0x2da5f2 STR R2, [SP,#0x1C+var_8] ; +0x10, 0x2da5f4 LDRB.W R2, [R0,#0x11C] ; +0x12, 0x2da5f6 CMP R2, #0 ; +0x16, 0x2da5fa BNE loc_2DA6A6 ; +0x18, 0x2da5fc LDR.W R5, [R0,#0x10C] ; +0x1a, 0x2da5fe ADD R4, SP, #0x1C+var_C ; +0x1e, 0x2da602 ADD R6, SP, #0x1C+var_10 ; +0x20, 0x2da604 MOV R0, R4; int ; +0x22, 0x2da606 MOV R2, R6 ; +0x24, 0x2da608 BL sub_776584 ; +0x26, 0x2da60a MOV R0, R5 ; +0x2a, 0x2da60e MOV R1, R4 ; +0x2c, 0x2da610 BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x2e, 0x2da612 MOV R5, R0 ; +0x32, 0x2da616 MOV R0, R4 ; +0x34, 0x2da618 BL sub_774008 ; +0x36, 0x2da61a CMP R5, #0 ; +0x3a, 0x2da61e BEQ loc_2DA6A6 ; +0x3c, 0x2da620 LDR R1, =(aTitle - 0x2DA62C); "title" ; +0x3e, 0x2da622 MOV R0, R4; int ; +0x40, 0x2da624 MOV R2, R6 ; +0x42, 0x2da626 ADD R1, PC; "title" ; +0x44, 0x2da628 BL sub_776584 ; +0x46, 0x2da62a MOV R0, R5 ; +0x4a, 0x2da62e MOV R1, R4 ; +0x4c, 0x2da630 BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x4e, 0x2da632 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x52, 0x2da636 MOV R9, R0 ; +0x56, 0x2da63a MOV R0, R4 ; +0x58, 0x2da63c BL sub_774008 ; +0x5a, 0x2da63e LDR R1, =(aAchieveddescri - 0x2DA64C); "achievedDescription" ; +0x5e, 0x2da642 MOV R0, R4; int ; +0x60, 0x2da644 MOV R2, R6 ; +0x62, 0x2da646 ADD R1, PC; "achievedDescription" ; +0x64, 0x2da648 BL sub_776584 ; +0x66, 0x2da64a MOV R0, R5 ; +0x6a, 0x2da64e MOV R1, R4 ; +0x6c, 0x2da650 BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x6e, 0x2da652 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x72, 0x2da656 MOV R8, R0 ; +0x76, 0x2da65a MOV R0, R4 ; +0x78, 0x2da65c BL sub_774008 ; +0x7a, 0x2da65e LDR R1, =(aIcon - 0x2DA66C); "icon" ; +0x7e, 0x2da662 MOV R0, R4; int ; +0x80, 0x2da664 MOV R2, R6 ; +0x82, 0x2da666 ADD R1, PC; "icon" ; +0x84, 0x2da668 BL sub_776584 ; +0x86, 0x2da66a MOV R0, R5 ; +0x8a, 0x2da66e MOV R1, R4 ; +0x8c, 0x2da670 BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x8e, 0x2da672 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x92, 0x2da676 MOV R5, R0 ; +0x96, 0x2da67a MOV R0, R4 ; +0x98, 0x2da67c BL sub_774008 ; +0x9a, 0x2da67e BL _ZN19AchievementNotifier11sharedStateEv; AchievementNotifier::sharedState(void) ; +0x9e, 0x2da682 MOVS R3, #0 ; +0xa2, 0x2da686 MOV R1, R9; char * ; +0xa4, 0x2da688 STR R3, [SP,#0x1C+var_1C]; bool ; +0xa6, 0x2da68a MOV R2, R8; char * ; +0xa8, 0x2da68c MOV R3, R5; char * ; +0xaa, 0x2da68e BL _ZN19AchievementNotifier17notifyAchievementEPKcS1_S1_b; AchievementNotifier::notifyAchievement(char const*,char const*,char const*,bool) ; +0xac, 0x2da690 B loc_2DA6A6 ; +0xb0, 0x2da694 B loc_2DA698 ; +0xb2, 0x2da696 MOV R0, R4 ; +0xb4, 0x2da698 BL sub_774008 ; +0xb6, 0x2da69a BL __cxa_end_cleanup ; +0xba, 0x2da69e B loc_2DA698 ; +0xbe, 0x2da6a2 B loc_2DA698 ; +0xc0, 0x2da6a4 LDR R2, [SP,#0x1C+var_8] ; +0xc2, 0x2da6a6 LDR R3, [R7] ; +0xc4, 0x2da6a8 CMP R2, R3 ; +0xc6, 0x2da6aa BEQ loc_2DA6B2 ; +0xc8, 0x2da6ac BLX __stack_chk_fail ; +0xca, 0x2da6ae ADD SP, SP, #0x1C ; +0xce, 0x2da6b2 POP.W {R4-R9,PC} ; +0xd0, 0x2da6b4