; ; AchievementManager::reportAchievementWithID from 0x2da7f8 to 0x2da890 (152 bytes) ; ; 1 xrefs: ; > GameManager::reportAchievementWithID @ 0x325c98 ; ; 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.W {R4-R11,LR} ; +0x0, 0x2da7f8 MOV R9, R3 ; +0x4, 0x2da7fc LDR R5, =(__stack_chk_guard_ptr - 0x2DA80A) ; +0x6, 0x2da7fe SUB SP, SP, #0x14 ; +0x8, 0x2da800 MOV R8, R0 ; +0xa, 0x2da802 MOV R7, R1 ; +0xc, 0x2da804 ADD R5, PC; __stack_chk_guard_ptr ; +0xe, 0x2da806 LDR R5, [R5]; __stack_chk_guard ; +0x10, 0x2da808 MOV R6, R2 ; +0x12, 0x2da80a LDR R3, [R5] ; +0x14, 0x2da80c STR R3, [SP,#0x14+var_8] ; +0x16, 0x2da80e BL _ZN18AchievementManager19isAchievementEarnedEPKc; AchievementManager::isAchievementEarned(char const*) ; +0x18, 0x2da810 CBNZ R0, loc_2DA87E ; +0x1c, 0x2da814 MOV R0, R8; this ; +0x1e, 0x2da816 MOV R1, R7; char * ; +0x20, 0x2da818 BL _ZN18AchievementManager21percentForAchievementEPKc; AchievementManager::percentForAchievement(char const*) ; +0x22, 0x2da81a CMP R6, R0 ; +0x26, 0x2da81e BLE loc_2DA85E ; +0x28, 0x2da820 CMP R6, #0x64 ; 'd' ; +0x2a, 0x2da822 LDR R0, =(aI - 0x2DA834); "%i" ; +0x2c, 0x2da824 LDR.W R11, [R8,#0x118] ; +0x2e, 0x2da826 ADD R4, SP, #0x14+var_C ; +0x32, 0x2da82a IT GE ; +0x34, 0x2da82c MOVGE R6, #dword_64 ; +0x36, 0x2da82e ADD R0, PC; "%i" ; +0x38, 0x2da830 MOV R1, R6; char * ; +0x3a, 0x2da832 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x3c, 0x2da834 MOV R1, R7; char * ; +0x40, 0x2da838 ADD R2, SP, #0x14+var_10 ; +0x42, 0x2da83a MOV R10, R0 ; +0x44, 0x2da83c MOV R0, R4; int ; +0x46, 0x2da83e BL sub_776584 ; +0x48, 0x2da840 MOV R0, R11; int ; +0x4c, 0x2da844 MOV R1, R10; this ; +0x4e, 0x2da846 MOV R2, R4 ; +0x50, 0x2da848 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x52, 0x2da84a MOV R0, R4 ; +0x56, 0x2da84e BL sub_774008 ; +0x58, 0x2da850 MOV R0, R8; this ; +0x5c, 0x2da854 MOV R1, R7; char * ; +0x5e, 0x2da856 MOV R2, R6; int ; +0x60, 0x2da858 BL _ZN18AchievementManager31reportPlatformAchievementWithIDEPKci; AchievementManager::reportPlatformAchievementWithID(char const*,int) ; +0x62, 0x2da85a CMP R6, #0x63 ; 'c' ; +0x66, 0x2da85e BLE loc_2DA87E ; +0x68, 0x2da860 CMP.W R9, #0 ; +0x6a, 0x2da862 BNE loc_2DA87E ; +0x6e, 0x2da866 BL _ZN18AchievementManager11sharedStateEv; AchievementManager::sharedState(void) ; +0x70, 0x2da868 MOV R1, R7; char * ; +0x74, 0x2da86c BL _ZN18AchievementManager23notifyAchievementWithIDEPKc; AchievementManager::notifyAchievementWithID(char const*) ; +0x76, 0x2da86e B loc_2DA87E ; +0x7a, 0x2da872 MOV R0, R4 ; +0x7c, 0x2da874 BL sub_774008 ; +0x7e, 0x2da876 BL __cxa_end_cleanup ; +0x82, 0x2da87a LDR R2, [SP,#0x14+var_8] ; +0x86, 0x2da87e LDR R3, [R5] ; +0x88, 0x2da880 CMP R2, R3 ; +0x8a, 0x2da882 BEQ loc_2DA88A ; +0x8c, 0x2da884 BLX __stack_chk_fail ; +0x8e, 0x2da886 ADD SP, SP, #0x14 ; +0x92, 0x2da88a POP.W {R4-R11,PC} ; +0x94, 0x2da88c