{"type": "func", "start": 14378148, "end": 14378356, "name": "DS_Dictionary::removeAllKeys", "pseudocode": "// \n// DS_Dictionary::removeAllKeys from 0xdb64a4 to 0xdb6574 (208 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0xfc358\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:08:42 +0000\n// \n\n__int64 __fastcall DS_Dictionary::removeAllKeys(DS_Dictionary *this)\n{\n  pugi::xml_node *v2; // x20\n  const char *v3; // x1\n  __int64 v5; // [xsp+58h] [xbp+58h] BYREF\n  __int64 sibling; // [xsp+60h] [xbp+60h] BYREF\n\n  while ( 1 )\n  {\n    v3 = *((_BYTE *)this + 232) ? \"key\" : \"k\";\n    v5 = pugi::xml_node::child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), v3);\n    if ( !pugi::xml_node::operator void (*)(pugi::xml_node***)(&v5) )\n      break;\n    v2 = (pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL);\n    sibling = pugi::xml_node::next_sibling((pugi::xml_node *)&v5);\n    pugi::xml_node::remove_child(v2, (const pugi::xml_node *)&sibling);\n    pugi::xml_node::remove_child((pugi::xml_node *)(*((_QWORD *)this + 27) - 8LL), (const pugi::xml_node *)&v5);\n  }\n  return _stack_chk_guard;\n}", "assembly": "; \n; DS_Dictionary::removeAllKeys from 0xdb64a4 to 0xdb6574 (208 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0xfc358\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\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 13:08:42 +0000\n; \nSTP             X29, X30, [SP,#var_70]!                                ; +0x0, 0xdb64a4\nMOV             X29, SP                                                ; +0x4, 0xdb64a8\nSTR             X25, [SP,#0x70+var_30]                                 ; +0x8, 0xdb64ac\nADRP            X25, #__stack_chk_guard_ptr@PAGE                       ; +0xc, 0xdb64b0\nSTP             X19, X20, [SP,#0x70+var_60]                            ; +0x10, 0xdb64b4\nMOV             X19, X0                                                ; +0x14, 0xdb64b8\nLDR             X0, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x18, 0xdb64bc\nSTP             X21, X22, [SP,#0x70+var_50]                            ; +0x1c, 0xdb64c0\nSTP             X23, X24, [SP,#0x70+var_40]                            ; +0x20, 0xdb64c4\nADRP            X22, #(aTakeBack+8)@PAGE; \"k\"                          ; +0x24, 0xdb64c8\nADRP            X23, #(aExpectingADsaK+0x10)@PAGE; \"key\"               ; +0x28, 0xdb64cc\nLDR             X0, [X0]                                               ; +0x2c, 0xdb64d0\nADD             X21, X29, #0x70+var_18                                 ; +0x30, 0xdb64d4\nADD             X23, X23, #(aExpectingADsaK+0x10)@PAGEOFF; \"key\"       ; +0x34, 0xdb64d8\nADD             X22, X22, #(aTakeBack+8)@PAGEOFF; \"k\"                  ; +0x38, 0xdb64dc\nADD             X24, X29, #0x70+var_10                                 ; +0x3c, 0xdb64e0\nSTR             X0, [X29,#0x70+var_8]                                  ; +0x40, 0xdb64e4\nB               loc_DB651C                                             ; +0x44, 0xdb64e8\nLDR             X20, [X19,#0xD8]                                       ; +0x48, 0xdb64ec\nMOV             X0, X21; this                                          ; +0x4c, 0xdb64f0\nSUB             X20, X20, #8                                           ; +0x50, 0xdb64f4\nBL              _ZNK4pugi8xml_node12next_siblingEv; pugi::xml_node::next_sibling(void) ; +0x54, 0xdb64f8\nMOV             X1, X24; pugi::xml_node *                              ; +0x58, 0xdb64fc\nSTR             X0, [X29,#0x70+var_10]                                 ; +0x5c, 0xdb6500\nMOV             X0, X20; this                                          ; +0x60, 0xdb6504\nBL              _ZN4pugi8xml_node12remove_childERKS0_; pugi::xml_node::remove_child(pugi::xml_node const&) ; +0x64, 0xdb6508\nLDR             X0, [X19,#0xD8]                                        ; +0x68, 0xdb650c\nMOV             X1, X21; pugi::xml_node *                              ; +0x6c, 0xdb6510\nSUB             X0, X0, #8; this                                       ; +0x70, 0xdb6514\nBL              _ZN4pugi8xml_node12remove_childERKS0_; pugi::xml_node::remove_child(pugi::xml_node const&) ; +0x74, 0xdb6518\nLDRB            W1, [X19,#0xE8]                                        ; +0x78, 0xdb651c\nLDR             X0, [X19,#0xD8]                                        ; +0x7c, 0xdb6520\nCMP             W1, WZR                                                ; +0x80, 0xdb6524\nSUB             X0, X0, #8; this                                       ; +0x84, 0xdb6528\nCSEL            X1, X23, X22, NE; char *                               ; +0x88, 0xdb652c\nBL              _ZNK4pugi8xml_node5childEPKc; pugi::xml_node::child(char const*) ; +0x8c, 0xdb6530\nSTR             X0, [X29,#0x70+var_18]                                 ; +0x90, 0xdb6534\nMOV             X0, X21                                                ; +0x94, 0xdb6538\nBL              _ZNK4pugi8xml_nodecvPFvPPPS0_EEv; pugi::xml_node::operator void (*)(pugi::xml_node***)(void) ; +0x98, 0xdb653c\nCBNZ            X0, loc_DB64EC                                         ; +0x9c, 0xdb6540\nLDR             X25, [X25,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0xa0, 0xdb6544\nLDR             X1, [X29,#0x70+var_8]                                  ; +0xa4, 0xdb6548\nLDR             X0, [X25]                                              ; +0xa8, 0xdb654c\nCMP             X1, X0                                                 ; +0xac, 0xdb6550\nB.NE            loc_DB6570                                             ; +0xb0, 0xdb6554\nLDP             X19, X20, [SP,#0x70+var_60]                            ; +0xb4, 0xdb6558\nLDP             X21, X22, [SP,#0x70+var_50]                            ; +0xb8, 0xdb655c\nLDP             X23, X24, [SP,#0x70+var_40]                            ; +0xbc, 0xdb6560\nLDR             X25, [SP,#0x70+var_30]                                 ; +0xc0, 0xdb6564\nLDP             X29, X30, [SP+0x70+var_70],#0x70                       ; +0xc4, 0xdb6568\nRET                                                                    ; +0xc8, 0xdb656c\nBL              .__stack_chk_fail                                      ; +0xcc, 0xdb6570", "xrefs": ["<???> @ 0xfc358"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "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"}