; ; AchievementManager::reportPlatformAchievementWithID from 0x2da734 to 0x2da7ec (184 bytes) ; ; 2 xrefs: ; > AchievementManager::reportAchievementWithID @ 0x2da85a ; > GameManager::syncPlatformAchievements @ 0x3223aa ; ; 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-R9,LR} ; +0x0, 0x2da734 SUB SP, SP, #0x1C ; +0x4, 0x2da738 LDR R5, =(__stack_chk_guard_ptr - 0x2DA748) ; +0x6, 0x2da73a ADD R4, SP, #0x1C+var_C ; +0x8, 0x2da73c LDR.W R7, [R0,#0x10C] ; +0xa, 0x2da73e ADD R6, SP, #0x1C+var_10 ; +0xe, 0x2da742 ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x2da744 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x2da746 MOV R8, R2 ; +0x14, 0x2da748 MOV R0, R4; int ; +0x16, 0x2da74a MOV R2, R6 ; +0x18, 0x2da74c LDR R3, [R5] ; +0x1a, 0x2da74e STR R3, [SP,#0x1C+var_8] ; +0x1c, 0x2da750 BL sub_776584 ; +0x1e, 0x2da752 MOV R0, R7 ; +0x22, 0x2da756 MOV R1, R4 ; +0x24, 0x2da758 BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x26, 0x2da75a MOV R7, R0 ; +0x2a, 0x2da75e MOV R0, R4 ; +0x2c, 0x2da760 BL sub_774008 ; +0x2e, 0x2da762 CBZ R7, loc_2DA7DA ; +0x32, 0x2da766 LDR R1, =(aGoogleid - 0x2DA772); "googleID" ; +0x34, 0x2da768 MOV R0, R4; int ; +0x36, 0x2da76a MOV R2, R6 ; +0x38, 0x2da76c ADD R1, PC; "googleID" ; +0x3a, 0x2da76e BL sub_776584 ; +0x3c, 0x2da770 MOV R0, R7 ; +0x40, 0x2da774 MOV R1, R4 ; +0x42, 0x2da776 BL _ZN7cocos2d12CCDictionary11valueForKeyERKSs; cocos2d::CCDictionary::valueForKey(std::string const&) ; +0x44, 0x2da778 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x48, 0x2da77c MOV R7, R0 ; +0x4c, 0x2da780 MOV R0, R4 ; +0x4e, 0x2da782 BL sub_774008 ; +0x50, 0x2da784 CBZ R7, loc_2DA7DA ; +0x54, 0x2da788 MOV R0, R6; int ; +0x56, 0x2da78a MOV R1, R7; char * ; +0x58, 0x2da78c ADD R2, SP, #0x1C+var_18 ; +0x5a, 0x2da78e BL sub_776584 ; +0x5c, 0x2da790 LDR R1, =(unk_939830 - 0x2DA79E) ; +0x60, 0x2da794 MOV R0, R4; int ; +0x62, 0x2da796 ADD R2, SP, #0x1C+var_14 ; +0x64, 0x2da798 ADD R1, PC; unk_939830 ; char * ; +0x66, 0x2da79a BL sub_776584 ; +0x68, 0x2da79c B loc_2DA7A6 ; +0x6c, 0x2da7a0 MOV R0, R6 ; +0x6e, 0x2da7a2 B loc_2DA7D0 ; +0x70, 0x2da7a4 MOV R1, R4 ; +0x72, 0x2da7a6 MOV R0, R6 ; +0x74, 0x2da7a8 BL sub_774DBC ; +0x76, 0x2da7aa MOV R9, R0 ; +0x7a, 0x2da7ae MOV R0, R4 ; +0x7c, 0x2da7b0 BL sub_774008 ; +0x7e, 0x2da7b2 MOV R0, R6 ; +0x82, 0x2da7b6 BL sub_774008 ; +0x84, 0x2da7b8 CMP.W R9, #0 ; +0x88, 0x2da7bc BEQ loc_2DA7DA ; +0x8c, 0x2da7c0 MOV R0, R7; this ; +0x8e, 0x2da7c2 MOV R1, R8; char * ; +0x90, 0x2da7c4 BL _ZN15PlatformToolbox23reportAchievementWithIDEPKci; PlatformToolbox::reportAchievementWithID(char const*,int) ; +0x92, 0x2da7c6 B loc_2DA7DA ; +0x96, 0x2da7ca B loc_2DA7CE ; +0x98, 0x2da7cc MOV R0, R4 ; +0x9a, 0x2da7ce BL sub_774008 ; +0x9c, 0x2da7d0 BL __cxa_end_cleanup ; +0xa0, 0x2da7d4 B loc_2DA7D4 ; +0xa4, 0x2da7d8 LDR R2, [SP,#0x1C+var_8] ; +0xa6, 0x2da7da LDR R3, [R5] ; +0xa8, 0x2da7dc CMP R2, R3 ; +0xaa, 0x2da7de BEQ loc_2DA7E6 ; +0xac, 0x2da7e0 BLX __stack_chk_fail ; +0xae, 0x2da7e2 ADD SP, SP, #0x1C ; +0xb2, 0x2da7e6 POP.W {R4-R9,PC} ; +0xb4, 0x2da7e8