{"type": "func", "start": 8430080, "end": 8430252, "name": "CCContentManager::addDictDS", "pseudocode": "// \n// CCContentManager::addDictDS from 0x80a200 to 0x80a2ac (172 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:01:29 +0000\n// \n\ncocos2d::CCObject *__fastcall CCContentManager::addDictDS(CCContentManager *this, const char *a2, int a3, int a4)\n{\n  int v6; // r4\n  size_t v7; // r0\n  int v8; // r4\n  DS_Dictionary *v9; // r5\n  cocos2d::CCObject *DictForKey; // r10\n  size_t v11; // r0\n  int v12; // r5\n  CCContentManager *v14; // [sp+0h] [bp-10h] BYREF\n  const char *v15; // [sp+4h] [bp-Ch]\n  int v16; // [sp+8h] [bp-8h]\n  int v17; // [sp+Ch] [bp-4h]\n\n  v14 = this;\n  v15 = a2;\n  v16 = a3;\n  v17 = a4;\n  v6 = *((_DWORD *)this + 13);\n  v14 = nullptr;\n  v15 = nullptr;\n  v16 = 0;\n  v7 = strlen(a2);\n  std::string::__init((int *)&v14, a2, v7);\n  v8 = cocos2d::CCDictionary::objectForKey(v6, (int)&v14);\n  std::string::~string((int)&v14);\n  if ( v8 )\n    return (cocos2d::CCObject *)v8;\n  v9 = (DS_Dictionary *)operator new(0xD8u);\n  DS_Dictionary::DS_Dictionary(v9);\n  DS_Dictionary::loadRootSubDictFromFile(v9, a2);\n  DictForKey = (cocos2d::CCObject *)DS_Dictionary::getDictForKey(v9, nullptr, 0);\n  DS_Dictionary::~DS_Dictionary(v9);\n  operator delete(v9);\n  v14 = nullptr;\n  v15 = nullptr;\n  v16 = 0;\n  v11 = strlen(a2);\n  v12 = *((_DWORD *)this + 13);\n  std::string::__init((int *)&v14, a2, v11);\n  cocos2d::CCDictionary::setObject(v12, DictForKey, (int)&v14);\n  std::string::~string((int)&v14);\n  return DictForKey;\n}", "assembly": "; \n; CCContentManager::addDictDS from 0x80a200 to 0x80a2ac (172 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:01:29 +0000\n; \nPUSH.W          {R0-R10,LR}                                            ; +0x0, 0x80a200\nMOV             R9, R0                                                 ; +0x4, 0x80a204\nLDR             R6, =(__stack_chk_guard_ptr - 0x80A212)                ; +0x6, 0x80a206\nMOV             R8, R1                                                 ; +0x8, 0x80a208\nLDR             R4, [R0,#0x34]                                         ; +0xa, 0x80a20a\nMOV             R0, R1; char *                                         ; +0xc, 0x80a20c\nADD             R6, PC; __stack_chk_guard_ptr                          ; +0xe, 0x80a20e\nLDR             R6, [R6]; __stack_chk_guard                            ; +0x10, 0x80a210\nLDR             R3, [R6]                                               ; +0x12, 0x80a212\nSTR             R3, [SP,#0x10+var_4]                                   ; +0x14, 0x80a214\nMOVS            R3, #0                                                 ; +0x16, 0x80a216\nSTR             R3, [SP,#0x10+var_10]                                  ; +0x18, 0x80a218\nSTR             R3, [SP,#0x10+var_C]                                   ; +0x1a, 0x80a21a\nSTR             R3, [SP,#0x10+var_8]                                   ; +0x1c, 0x80a21c\nBLX             strlen                                                 ; +0x1e, 0x80a21e\nMOV             R1, R8                                                 ; +0x22, 0x80a222\nMOV             R2, R0                                                 ; +0x24, 0x80a224\nMOV             R0, SP                                                 ; +0x26, 0x80a226\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x28, 0x80a228\nMOV             R0, R4                                                 ; +0x2c, 0x80a22c\nMOV             R1, SP                                                 ; +0x2e, 0x80a22e\nBL              _ZN7cocos2d12CCDictionary12objectForKeyERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCDictionary::objectForKey(std::string const&) ; +0x30, 0x80a230\nMOV             R4, R0                                                 ; +0x34, 0x80a234\nMOV             R0, SP                                                 ; +0x36, 0x80a236\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x38, 0x80a238\nCBNZ            R4, loc_80A298                                         ; +0x3c, 0x80a23c\nMOVS            R0, #0xD8; unsigned int                                ; +0x3e, 0x80a23e\nBL              _Znwj; operator new(uint)                              ; +0x40, 0x80a240\nMOV             R5, R0                                                 ; +0x44, 0x80a244\nBL              _ZN13DS_DictionaryC1Ev; DS_Dictionary::DS_Dictionary(void) ; +0x46, 0x80a246\nMOV             R0, R5; this                                           ; +0x4a, 0x80a24a\nMOV             R1, R8; char *                                         ; +0x4c, 0x80a24c\nBL              _ZN13DS_Dictionary23loadRootSubDictFromFileEPKc; DS_Dictionary::loadRootSubDictFromFile(char const*) ; +0x4e, 0x80a24e\nMOV             R1, R4; char *                                         ; +0x52, 0x80a252\nMOV             R2, R4; bool                                           ; +0x54, 0x80a254\nMOV             R0, R5; this                                           ; +0x56, 0x80a256\nBL              _ZN13DS_Dictionary13getDictForKeyEPKcb; DS_Dictionary::getDictForKey(char const*,bool) ; +0x58, 0x80a258\nMOV             R10, R0                                                ; +0x5c, 0x80a25c\nMOV             R0, R5; this                                           ; +0x5e, 0x80a25e\nBL              _ZN13DS_DictionaryD2Ev; DS_Dictionary::~DS_Dictionary() ; +0x60, 0x80a260\nMOV             R0, R5; void *                                         ; +0x64, 0x80a264\nBL              _ZdlPv; operator delete(void *)                        ; +0x66, 0x80a266\nMOV             R0, R8; char *                                         ; +0x6a, 0x80a26a\nSTR             R4, [SP,#0x10+var_10]                                  ; +0x6c, 0x80a26c\nSTR             R4, [SP,#0x10+var_C]                                   ; +0x6e, 0x80a26e\nSTR             R4, [SP,#0x10+var_8]                                   ; +0x70, 0x80a270\nBLX             strlen                                                 ; +0x72, 0x80a272\nLDR.W           R5, [R9,#0x34]                                         ; +0x76, 0x80a276\nMOV             R1, R8                                                 ; +0x7a, 0x80a27a\nMOV             R2, R0                                                 ; +0x7c, 0x80a27c\nMOV             R0, SP                                                 ; +0x7e, 0x80a27e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x80, 0x80a280\nMOV             R0, R5; int                                            ; +0x84, 0x80a284\nMOV             R1, R10; this                                          ; +0x86, 0x80a286\nMOV             R2, SP                                                 ; +0x88, 0x80a288\nBL              _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x8a, 0x80a28a\nMOV             R0, SP                                                 ; +0x8e, 0x80a28e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x90, 0x80a290\nMOV             R0, R10                                                ; +0x94, 0x80a294\nB               loc_80A29A                                             ; +0x96, 0x80a296\nMOV             R0, R4                                                 ; +0x98, 0x80a298\nLDR             R2, [SP,#0x10+var_4]                                   ; +0x9a, 0x80a29a\nLDR             R3, [R6]                                               ; +0x9c, 0x80a29c\nCMP             R2, R3                                                 ; +0x9e, 0x80a29e\nBEQ             loc_80A2A6                                             ; +0xa0, 0x80a2a0\nBLX             __stack_chk_fail                                       ; +0xa2, 0x80a2a2\nADD             SP, SP, #0x10                                          ; +0xa6, 0x80a2a6\nPOP.W           {R4-R10,PC}                                            ; +0xa8, 0x80a2a8", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}