; ; CCContentManager::addDictDS from 0x5fc448 to 0x5fc4e4 (156 bytes) ; ; 0 xrefs: ; ; 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 {R0-R10,LR} ; +0x0, 0x5fc448 ADD R6, SP, #0x10+var_8 ; +0x4, 0x5fc44c LDR R5, =(__stack_chk_guard_ptr - 0x5FC45C) ; +0x6, 0x5fc44e ADD.W R8, SP, #0x10+var_C ; +0x8, 0x5fc450 LDR R4, [R0,#0x34] ; +0xc, 0x5fc454 MOV R10, R0 ; +0xe, 0x5fc456 ADD R5, PC; __stack_chk_guard_ptr ; +0x10, 0x5fc458 LDR R5, [R5]; __stack_chk_guard ; +0x12, 0x5fc45a MOV R2, R8 ; +0x14, 0x5fc45c MOV R0, R6; int ; +0x16, 0x5fc45e MOV R9, R1 ; +0x18, 0x5fc460 LDR R3, [R5] ; +0x1a, 0x5fc462 STR R3, [SP,#0x10+var_4] ; +0x1c, 0x5fc464 BL sub_776584 ; +0x1e, 0x5fc466 MOV R0, R4 ; +0x22, 0x5fc46a MOV R1, R6 ; +0x24, 0x5fc46c BL _ZN7cocos2d12CCDictionary12objectForKeyERKSs; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x26, 0x5fc46e MOV R4, R0 ; +0x2a, 0x5fc472 MOV R0, R6 ; +0x2c, 0x5fc474 BL sub_774008 ; +0x2e, 0x5fc476 CBNZ R4, loc_5FC4D0 ; +0x32, 0x5fc47a MOVS R0, #0xD8; unsigned int ; +0x34, 0x5fc47c BL _Znwj; operator new(uint) ; +0x36, 0x5fc47e MOV R7, R0 ; +0x3a, 0x5fc482 BL _ZN13DS_DictionaryC1Ev; DS_Dictionary::DS_Dictionary(void) ; +0x3c, 0x5fc484 MOV R1, R9; char * ; +0x40, 0x5fc488 MOV R0, R7; this ; +0x42, 0x5fc48a BL _ZN13DS_Dictionary23loadRootSubDictFromFileEPKc; DS_Dictionary::loadRootSubDictFromFile(char const*) ; +0x44, 0x5fc48c MOV R1, R4; char * ; +0x48, 0x5fc490 MOV R2, R4; bool ; +0x4a, 0x5fc492 MOV R0, R7; this ; +0x4c, 0x5fc494 BL _ZN13DS_Dictionary13getDictForKeyEPKcb; DS_Dictionary::getDictForKey(char const*,bool) ; +0x4e, 0x5fc496 MOV R4, R0 ; +0x52, 0x5fc49a LDR.W R0, [R7,#0xC8]; p ; +0x54, 0x5fc49c CBZ R0, loc_5FC4A6 ; +0x58, 0x5fc4a0 BL _ZdlPv; operator delete(void *) ; +0x5a, 0x5fc4a2 MOV R0, R7; this ; +0x5e, 0x5fc4a6 BL _ZN4pugi12xml_documentD1Ev; pugi::xml_document::~xml_document() ; +0x60, 0x5fc4a8 MOV R0, R7; p ; +0x64, 0x5fc4ac BL _ZdlPv; operator delete(void *) ; +0x66, 0x5fc4ae LDR.W R7, [R10,#0x34] ; +0x6a, 0x5fc4b2 MOV R1, R9; char * ; +0x6e, 0x5fc4b6 MOV R2, R8 ; +0x70, 0x5fc4b8 MOV R0, R6; int ; +0x72, 0x5fc4ba BL sub_776584 ; +0x74, 0x5fc4bc MOV R0, R7; int ; +0x78, 0x5fc4c0 MOV R1, R4; this ; +0x7a, 0x5fc4c2 MOV R2, R6 ; +0x7c, 0x5fc4c4 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKSs; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x7e, 0x5fc4c6 MOV R0, R6 ; +0x82, 0x5fc4ca BL sub_774008 ; +0x84, 0x5fc4cc LDR R2, [SP,#0x10+var_4] ; +0x88, 0x5fc4d0 MOV R0, R4 ; +0x8a, 0x5fc4d2 LDR R3, [R5] ; +0x8c, 0x5fc4d4 CMP R2, R3 ; +0x8e, 0x5fc4d6 BEQ loc_5FC4DE ; +0x90, 0x5fc4d8 BLX __stack_chk_fail ; +0x92, 0x5fc4da ADD SP, SP, #0x10 ; +0x96, 0x5fc4de POP.W {R4-R10,PC} ; +0x98, 0x5fc4e0