; ; AchievementManager::storeAchievementUnlocks from 0x2da458 to 0x2da582 (298 bytes) ; ; 1 xrefs: ; > AchievementManager::init @ 0x2da5d6 ; ; 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 - 0x2DA462) ; +0x0, 0x2da458 PUSH.W {R4-R11,LR} ; +0x2, 0x2da45a ADD R3, PC; __stack_chk_guard_ptr ; +0x6, 0x2da45e LDR R3, [R3]; __stack_chk_guard ; +0x8, 0x2da460 LDR.W R5, [R0,#0x110] ; +0xa, 0x2da462 SUB SP, SP, #0x2C ; +0xe, 0x2da466 LDR R2, [R3] ; +0x10, 0x2da468 MOV R7, R0 ; +0x12, 0x2da46a STR R3, [SP,#0x2C+var_24] ; +0x14, 0x2da46c STR R2, [SP,#0x2C+var_8] ; +0x16, 0x2da46e CMP R5, #0 ; +0x18, 0x2da470 BNE loc_2DA56E ; +0x1a, 0x2da472 BL _ZN7cocos2d12CCDictionary6createEv; cocos2d::CCDictionary::create(void) ; +0x1c, 0x2da474 ADD R4, SP, #0x2C+var_C ; +0x20, 0x2da478 ADD R6, SP, #0x2C+var_10 ; +0x22, 0x2da47a STR.W R0, [R7,#0x110] ; +0x24, 0x2da47c BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0x28, 0x2da480 LDR.W R0, [R7,#0x10C]; this ; +0x2c, 0x2da484 BL _ZN7cocos2d12CCDictionary7allKeysEv; cocos2d::CCDictionary::allKeys(void) ; +0x30, 0x2da488 LDR R3, =(aIcon - 0x2DA492); "icon" ; +0x34, 0x2da48c ADD R3, PC; "icon" ; +0x36, 0x2da48e STR R3, [SP,#0x2C+var_20] ; +0x38, 0x2da490 MOV R10, R0 ; +0x3a, 0x2da492 MOV R0, R10; this ; +0x3c, 0x2da494 BL _ZNK7cocos2d7CCArray5countEv; cocos2d::CCArray::count(void) ; +0x3e, 0x2da496 CMP R5, R0 ; +0x42, 0x2da49a BCS loc_2DA56E ; +0x44, 0x2da49c MOV R1, R5; unsigned int ; +0x46, 0x2da49e MOV R0, R10; this ; +0x48, 0x2da4a0 BL _ZN7cocos2d7CCArray13stringAtIndexEj; cocos2d::CCArray::stringAtIndex(uint) ; +0x4a, 0x2da4a2 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x4e, 0x2da4a6 LDR.W R8, [R7,#0x10C] ; +0x52, 0x2da4aa MOV R2, R6 ; +0x56, 0x2da4ae MOV R11, R0 ; +0x58, 0x2da4b0 MOV R0, R4; int ; +0x5a, 0x2da4b2 MOV R1, R11; char * ; +0x5c, 0x2da4b4 BL sub_776584 ; +0x5e, 0x2da4b6 MOV R0, R8 ; +0x62, 0x2da4ba MOV R1, R4 ; +0x64, 0x2da4bc BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x66, 0x2da4be MOV R8, R0 ; +0x6a, 0x2da4c2 MOV R0, R4 ; +0x6c, 0x2da4c4 BL sub_774008 ; +0x6e, 0x2da4c6 LDR R1, [SP,#0x2C+var_20]; char * ; +0x72, 0x2da4ca MOV R0, R4; int ; +0x74, 0x2da4cc MOV R2, R6 ; +0x76, 0x2da4ce BL sub_776584 ; +0x78, 0x2da4d0 MOV R0, R8 ; +0x7c, 0x2da4d4 MOV R1, R4 ; +0x7e, 0x2da4d6 BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x80, 0x2da4d8 MOV R9, R0 ; +0x84, 0x2da4dc MOV R0, R4 ; +0x86, 0x2da4de BL sub_774008 ; +0x88, 0x2da4e0 CMP.W R9, #0 ; +0x8c, 0x2da4e4 BEQ loc_2DA54A ; +0x90, 0x2da4e8 MOV R0, R9; this ; +0x92, 0x2da4ea ADD.W R8, SP, #0x2C+var_14 ; +0x94, 0x2da4ec BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x98, 0x2da4f0 MOV R2, R4 ; +0x9c, 0x2da4f4 MOV R1, R0; char * ; +0x9e, 0x2da4f6 MOV R0, R8; int ; +0xa0, 0x2da4f8 BL sub_776584 ; +0xa2, 0x2da4fa LDR R3, [SP,#0x2C+var_14] ; +0xa6, 0x2da4fe LDR.W R3, [R3,#-0xC] ; +0xa8, 0x2da500 CBZ R3, loc_2DA544 ; +0xac, 0x2da504 LDR.W R3, [R7,#0x110] ; +0xae, 0x2da506 MOV R0, R6; int ; +0xb2, 0x2da50a MOV R1, R11; char * ; +0xb4, 0x2da50c ADD R2, SP, #0x2C+var_1C ; +0xb6, 0x2da50e STR R3, [SP,#0x2C+var_28] ; +0xb8, 0x2da510 BL sub_776584 ; +0xba, 0x2da512 MOV R0, R6 ; +0xbe, 0x2da516 BL _ZN7cocos2d8CCString6createERKSs; cocos2d::CCString::create(std::string const&) ; +0xc0, 0x2da518 MOV R11, R0 ; +0xc4, 0x2da51c MOV R0, R9; this ; +0xc6, 0x2da51e BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0xc8, 0x2da520 MOV R1, R0; char * ; +0xcc, 0x2da524 ADD R2, SP, #0x2C+var_18 ; +0xce, 0x2da526 MOV R0, R4; int ; +0xd0, 0x2da528 BL sub_776584 ; +0xd2, 0x2da52a LDR R0, [SP,#0x2C+var_28]; int ; +0xd6, 0x2da52e MOV R1, R11; this ; +0xd8, 0x2da530 MOV R2, R4 ; +0xda, 0x2da532 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0xdc, 0x2da534 MOV R0, R4 ; +0xe0, 0x2da538 BL sub_774008 ; +0xe2, 0x2da53a MOV R0, R6 ; +0xe6, 0x2da53e BL sub_774008 ; +0xe8, 0x2da540 MOV R0, R8 ; +0xec, 0x2da544 BL sub_774008 ; +0xee, 0x2da546 ADDS R5, #1 ; +0xf2, 0x2da54a B loc_2DA494 ; +0xf4, 0x2da54c B loc_2DA550 ; +0xf6, 0x2da54e MOV R0, R4 ; +0xf8, 0x2da550 BL sub_774008 ; +0xfa, 0x2da552 BL __cxa_end_cleanup ; +0xfe, 0x2da556 MOV R0, R4 ; +0x102, 0x2da55a BL sub_774008 ; +0x104, 0x2da55c B loc_2DA562 ; +0x108, 0x2da560 MOV R0, R6 ; +0x10a, 0x2da562 BL sub_774008 ; +0x10c, 0x2da564 B loc_2DA56A ; +0x110, 0x2da568 MOV R0, R8 ; +0x112, 0x2da56a B loc_2DA552 ; +0x114, 0x2da56c LDR R3, [SP,#0x2C+var_24] ; +0x116, 0x2da56e LDR R2, [SP,#0x2C+var_8] ; +0x118, 0x2da570 LDR R3, [R3] ; +0x11a, 0x2da572 CMP R2, R3 ; +0x11c, 0x2da574 BEQ loc_2DA57C ; +0x11e, 0x2da576 BLX __stack_chk_fail ; +0x120, 0x2da578 ADD SP, SP, #0x2C ; ',' ; +0x124, 0x2da57c POP.W {R4-R11,PC} ; +0x126, 0x2da57e