{"type": "func", "start": 11808376, "end": 11808588, "name": "DS_Dictionary::getKey", "pseudocode": "// \n// DS_Dictionary::getKey from 0xb42e78 to 0xb42f4c (212 bytes)\n// \n// 4 xrefs:\n// > CCAnimateFrameCache::addDict @ 0x572280\n// > CCAnimateFrameCache::addDict @ 0x5725f0\n// > DS_Dictionary::getArrayForKey @ 0xb46f5c\n// > <???> @ 0xad0b8\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 *__usercall DS_Dictionary::getKey@<X0>(__int64 *__return_ptr a1@<X8>, DS_Dictionary *this@<X0>, int a3@<W1>)\n{\n  int v5; // w19\n  char *v7; // x0\n  pugi::xml_node v8; // [xsp+48h] [xbp+48h] BYREF\n  pugi::xml_node v9; // [xsp+50h] [xbp+50h] BYREF\n\n  v5 = 0;\n  for ( v8._root = (pugi::xml_node_struct *)pugi::xml_node::first_child(this->dictTree.m_finish - 1);\n        ;\n        v8._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v9) )\n  {\n    if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v8) )\n    {\n      *a1 = (__int64)&byte_124B6C8;\n      return a1;\n    }\n    if ( v5 == a3 )\n      break;\n    v9._root = (pugi::xml_node_struct *)pugi::xml_node::next_sibling(&v8);\n    ++v5;\n  }\n  v7 = (char *)pugi::xml_node::child_value(&v8);\n  sub_D153B8((int)a1, v7);\n  return a1;\n}", "assembly": "; \n; DS_Dictionary::getKey from 0xb42e78 to 0xb42f4c (212 bytes)\n; \n; 4 xrefs:\n; > CCAnimateFrameCache::addDict @ 0x572280\n; > CCAnimateFrameCache::addDict @ 0x5725f0\n; > DS_Dictionary::getArrayForKey @ 0xb46f5c\n; > <???> @ 0xad0b8\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nSTP             X29, X30, [SP,#var_60]!                                ; +0x0, 0xb42e78\nMOV             X29, SP                                                ; +0x4, 0xb42e7c\nSTP             X23, X24, [SP,#0x60+var_30]                            ; +0x8, 0xb42e80\nADRP            X23, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xb42e84\nLDR             X0, [X0,#0xD8]                                         ; +0x10, 0xb42e88\nSTP             X21, X22, [SP,#0x60+var_40]                            ; +0x14, 0xb42e8c\nMOV             W21, W1                                                ; +0x18, 0xb42e90\nSUB             X0, X0, #8; this                                       ; +0x1c, 0xb42e94\nLDR             X1, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x20, 0xb42e98\nMOV             X24, X8                                                ; +0x24, 0xb42e9c\nSTP             X19, X20, [SP,#0x60+var_50]                            ; +0x28, 0xb42ea0\nADD             X20, X29, #0x60+arg_0                                  ; +0x2c, 0xb42ea4\nMOV             W19, #0                                                ; +0x30, 0xb42ea8\nLDR             X1, [X1]                                               ; +0x34, 0xb42eac\nADD             X22, X29, #0x60+var_10                                 ; +0x38, 0xb42eb0\nSTR             X1, [X29,#0x60+var_8]                                  ; +0x3c, 0xb42eb4\nBL              _ZNK4pugi8xml_node11first_childEv; pugi::xml_node::first_child(void) ; +0x40, 0xb42eb8\nSTR             X0, [X20,#-0x18]!                                      ; +0x44, 0xb42ebc\nB               loc_B42EE8                                             ; +0x48, 0xb42ec0\nCMP             W19, W21                                               ; +0x4c, 0xb42ec4\nMOV             X0, X20; this                                          ; +0x50, 0xb42ec8\nB.EQ            loc_B42F30                                             ; +0x54, 0xb42ecc\nBL              _ZNK4pugi8xml_node12next_siblingEv; pugi::xml_node::next_sibling(void) ; +0x58, 0xb42ed0\nSTR             X0, [X29,#0x60+var_10]                                 ; +0x5c, 0xb42ed4\nMOV             X0, X22; this                                          ; +0x60, 0xb42ed8\nADD             W19, W19, #1                                           ; +0x64, 0xb42edc\nBL              _ZNK4pugi8xml_node12next_siblingEv; pugi::xml_node::next_sibling(void) ; +0x68, 0xb42ee0\nSTR             X0, [X29,#0x60+var_18]                                 ; +0x6c, 0xb42ee4\nMOV             X0, X20                                                ; +0x70, 0xb42ee8\nBL              _ZNK4pugi8xml_nodecvPFvPPPS0_EEv; pugi::xml_node::operator void (*)(pugi::xml_node***)(void) ; +0x74, 0xb42eec\nCBNZ            X0, loc_B42EC4                                         ; +0x78, 0xb42ef0\nADRP            X0, #off_122EFE8@PAGE                                  ; +0x7c, 0xb42ef4\nLDR             X0, [X0,#off_122EFE8@PAGEOFF]; qword_124B6B0           ; +0x80, 0xb42ef8\nADD             X0, X0, #0x18                                          ; +0x84, 0xb42efc\nSTR             X0, [X24]                                              ; +0x88, 0xb42f00\nLDR             X23, [X23,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x8c, 0xb42f04\nMOV             X0, X24                                                ; +0x90, 0xb42f08\nLDR             X2, [X29,#0x60+var_8]                                  ; +0x94, 0xb42f0c\nLDR             X1, [X23]                                              ; +0x98, 0xb42f10\nCMP             X2, X1                                                 ; +0x9c, 0xb42f14\nB.NE            loc_B42F48                                             ; +0xa0, 0xb42f18\nLDP             X19, X20, [SP,#0x60+var_50]                            ; +0xa4, 0xb42f1c\nLDP             X21, X22, [SP,#0x60+var_40]                            ; +0xa8, 0xb42f20\nLDP             X23, X24, [SP,#0x60+var_30]                            ; +0xac, 0xb42f24\nLDP             X29, X30, [SP+0x60+var_60],#0x60                       ; +0xb0, 0xb42f28\nRET                                                                    ; +0xb4, 0xb42f2c\nBL              _ZNK4pugi8xml_node11child_valueEv; pugi::xml_node::child_value(void) ; +0xb8, 0xb42f30\nMOV             X1, X0; char *                                         ; +0xbc, 0xb42f34\nADD             X2, X29, #0x60+var_10                                  ; +0xc0, 0xb42f38\nMOV             X0, X24; int                                           ; +0xc4, 0xb42f3c\nBL              sub_D153B8                                             ; +0xc8, 0xb42f40\nB               loc_B42F04                                             ; +0xcc, 0xb42f44\nBL              .__stack_chk_fail                                      ; +0xd0, 0xb42f48", "xrefs": ["CCAnimateFrameCache::addDict @ 0x572280", "CCAnimateFrameCache::addDict @ 0x5725f0", "DS_Dictionary::getArrayForKey @ 0xb46f5c", "<???> @ 0xad0b8"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}