{"type": "func", "start": 13369492, "end": 13369864, "name": "EditorSFXManager::clearAll", "pseudocode": "// \n// EditorSFXManager::clearAll from 0xcc0094 to 0xcc0208 (372 bytes)\n// \n// 6 xrefs:\n// > EditorSFXManager::firstSetup @ 0xcc0218\n// > EditorSFXManager::~EditorSFXManager @ 0xcc0314\n// > EditorSFXManager::dataLoaded @ 0xcc40f4\n// > EditorSFXManager::deserializeAll @ 0xcc6db0\n// > EditorSoundsSettingsPopup::FLAlert_Clicked @ 0xcd7cc4\n// > <???> @ 0x97dc8\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:06:17 +0000\n// \n\n__int64 __fastcall EditorSFXManager::clearAll(EditorSFXManager *this)\n{\n  __int64 **v2; // x20\n  _QWORD *v3; // x0\n  _QWORD *v4; // x20\n  __int64 v5; // x2\n  __int64 v6; // x0\n  _QWORD *v7; // x0\n  _QWORD *v8; // x20\n  __int64 v9; // x2\n  __int64 v10; // x0\n  _QWORD *v11; // x0\n  _QWORD *v12; // x20\n  __int64 v13; // x2\n  __int64 v14; // x0\n  __int64 v15; // x20\n\n  v2 = *((__int64 ***)this + 2);\n  if ( v2 )\n  {\n    do\n    {\n      EditorSFXManager::releaseBinding((int)this, v2[3]);\n      v2 = (__int64 **)*v2;\n    }\n    while ( v2 );\n    if ( !*((_QWORD *)this + 3) )\n      goto LABEL_9;\n    v3 = *((_QWORD **)this + 2);\n    if ( v3 )\n    {\n      do\n      {\n        v4 = (_QWORD *)*v3;\n        operator delete(v3);\n        v3 = v4;\n      }\n      while ( v4 );\n    }\n  }\n  else if ( !*((_QWORD *)this + 3) )\n  {\n    goto LABEL_9;\n  }\n  v5 = *((_QWORD *)this + 1);\n  v6 = 0;\n  *((_QWORD *)this + 2) = 0;\n  if ( v5 )\n  {\n    do\n      *(_QWORD *)(*(_QWORD *)this + 8 * v6++) = 0;\n    while ( v6 != v5 );\n  }\n  *((_QWORD *)this + 3) = 0;\nLABEL_9:\n  if ( *((_QWORD *)this + 8) )\n  {\n    v7 = *((_QWORD **)this + 7);\n    if ( v7 )\n    {\n      do\n      {\n        v8 = (_QWORD *)*v7;\n        operator delete(v7);\n        v7 = v8;\n      }\n      while ( v8 );\n    }\n    v9 = *((_QWORD *)this + 6);\n    v10 = 0;\n    *((_QWORD *)this + 7) = 0;\n    if ( v9 )\n    {\n      do\n        *(_QWORD *)(*((_QWORD *)this + 5) + 8 * v10++) = 0;\n      while ( v10 != v9 );\n    }\n    *((_QWORD *)this + 8) = 0;\n  }\n  if ( *((_QWORD *)this + 13) )\n  {\n    v11 = *((_QWORD **)this + 12);\n    if ( v11 )\n    {\n      do\n      {\n        v12 = (_QWORD *)*v11;\n        operator delete(v11);\n        v11 = v12;\n      }\n      while ( v12 );\n    }\n    v13 = *((_QWORD *)this + 11);\n    v14 = 0;\n    *((_QWORD *)this + 12) = 0;\n    if ( v13 )\n    {\n      do\n        *(_QWORD *)(*((_QWORD *)this + 10) + 8 * v14++) = 0;\n      while ( v14 != v13 );\n    }\n    *((_QWORD *)this + 13) = 0;\n  }\n  v15 = *((_QWORD *)this + 16);\n  if ( v15 )\n  {\n    std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(\n      (__int64)this + 120,\n      *(void **)v15);\n    std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(\n      (__int64)this + 120,\n      *(void **)(v15 + 8));\n    if ( (*(_BYTE *)(v15 + 40) & 1) != 0 )\n      operator delete(*(void **)(v15 + 56));\n    operator delete((void *)v15);\n  }\n  *((_QWORD *)this + 17) = 0;\n  *((_QWORD *)this + 16) = 0;\n  *((_QWORD *)this + 15) = (char *)this + 128;\n  return (__int64)this + 128;\n}", "assembly": "; \n; EditorSFXManager::clearAll from 0xcc0094 to 0xcc0208 (372 bytes)\n; \n; 6 xrefs:\n; > EditorSFXManager::firstSetup @ 0xcc0218\n; > EditorSFXManager::~EditorSFXManager @ 0xcc0314\n; > EditorSFXManager::dataLoaded @ 0xcc40f4\n; > EditorSFXManager::deserializeAll @ 0xcc6db0\n; > EditorSoundsSettingsPopup::FLAlert_Clicked @ 0xcd7cc4\n; > <???> @ 0x97dc8\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:06:17 +0000\n; \nSTP             X29, X30, [SP,#var_30]!                                ; +0x0, 0xcc0094\nMOV             X29, SP                                                ; +0x4, 0xcc0098\nSTP             X19, X20, [SP,#0x30+var_20]                            ; +0x8, 0xcc009c\nSTR             X21, [SP,#0x30+var_10]                                 ; +0xc, 0xcc00a0\nMOV             X19, X0                                                ; +0x10, 0xcc00a4\nLDR             X20, [X0,#0x10]                                        ; +0x14, 0xcc00a8\nCBZ             X20, loc_CC01FC                                        ; +0x18, 0xcc00ac\nLDR             X1, [X20,#0x18]; void *                                ; +0x1c, 0xcc00b0\nMOV             X0, X19; int                                           ; +0x20, 0xcc00b4\nBL              _ZN16EditorSFXManager14releaseBindingEP16EditorSFXBinding; EditorSFXManager::releaseBinding(EditorSFXBinding *) ; +0x24, 0xcc00b8\nLDR             X20, [X20]                                             ; +0x28, 0xcc00bc\nCBNZ            X20, loc_CC00B0                                        ; +0x2c, 0xcc00c0\nLDR             X0, [X19,#0x18]                                        ; +0x30, 0xcc00c4\nCBZ             X0, loc_CC010C                                         ; +0x34, 0xcc00c8\nLDR             X0, [X19,#0x10]; void *                                ; +0x38, 0xcc00cc\nCBZ             X0, loc_CC00E4                                         ; +0x3c, 0xcc00d0\nLDR             X20, [X0]                                              ; +0x40, 0xcc00d4\nBL              _ZdlPv; operator delete(void *)                        ; +0x44, 0xcc00d8\nMOV             X0, X20                                                ; +0x48, 0xcc00dc\nCBNZ            X20, loc_CC00D4                                        ; +0x4c, 0xcc00e0\nLDR             X2, [X19,#8]                                           ; +0x50, 0xcc00e4\nMOV             X0, #0                                                 ; +0x54, 0xcc00e8\nSTR             XZR, [X19,#0x10]                                       ; +0x58, 0xcc00ec\nCBZ             X2, loc_CC0108                                         ; +0x5c, 0xcc00f0\nLDR             X1, [X19]                                              ; +0x60, 0xcc00f4\nSTR             XZR, [X1,X0,LSL#3]                                     ; +0x64, 0xcc00f8\nADD             X0, X0, #1                                             ; +0x68, 0xcc00fc\nCMP             X0, X2                                                 ; +0x6c, 0xcc0100\nB.NE            loc_CC00F4                                             ; +0x70, 0xcc0104\nSTR             XZR, [X19,#0x18]                                       ; +0x74, 0xcc0108\nLDR             X0, [X19,#0x40]                                        ; +0x78, 0xcc010c\nCBZ             X0, loc_CC0154                                         ; +0x7c, 0xcc0110\nLDR             X0, [X19,#0x38]; void *                                ; +0x80, 0xcc0114\nCBZ             X0, loc_CC012C                                         ; +0x84, 0xcc0118\nLDR             X20, [X0]                                              ; +0x88, 0xcc011c\nBL              _ZdlPv; operator delete(void *)                        ; +0x8c, 0xcc0120\nMOV             X0, X20                                                ; +0x90, 0xcc0124\nCBNZ            X20, loc_CC011C                                        ; +0x94, 0xcc0128\nLDR             X2, [X19,#0x30]                                        ; +0x98, 0xcc012c\nMOV             X0, #0                                                 ; +0x9c, 0xcc0130\nSTR             XZR, [X19,#0x38]                                       ; +0xa0, 0xcc0134\nCBZ             X2, loc_CC0150                                         ; +0xa4, 0xcc0138\nLDR             X1, [X19,#0x28]                                        ; +0xa8, 0xcc013c\nSTR             XZR, [X1,X0,LSL#3]                                     ; +0xac, 0xcc0140\nADD             X0, X0, #1                                             ; +0xb0, 0xcc0144\nCMP             X0, X2                                                 ; +0xb4, 0xcc0148\nB.NE            loc_CC013C                                             ; +0xb8, 0xcc014c\nSTR             XZR, [X19,#0x40]                                       ; +0xbc, 0xcc0150\nLDR             X0, [X19,#0x68]                                        ; +0xc0, 0xcc0154\nCBZ             X0, loc_CC019C                                         ; +0xc4, 0xcc0158\nLDR             X0, [X19,#0x60]; void *                                ; +0xc8, 0xcc015c\nCBZ             X0, loc_CC0174                                         ; +0xcc, 0xcc0160\nLDR             X20, [X0]                                              ; +0xd0, 0xcc0164\nBL              _ZdlPv; operator delete(void *)                        ; +0xd4, 0xcc0168\nMOV             X0, X20                                                ; +0xd8, 0xcc016c\nCBNZ            X20, loc_CC0164                                        ; +0xdc, 0xcc0170\nLDR             X2, [X19,#0x58]                                        ; +0xe0, 0xcc0174\nMOV             X0, #0                                                 ; +0xe4, 0xcc0178\nSTR             XZR, [X19,#0x60]                                       ; +0xe8, 0xcc017c\nCBZ             X2, loc_CC0198                                         ; +0xec, 0xcc0180\nLDR             X1, [X19,#0x50]                                        ; +0xf0, 0xcc0184\nSTR             XZR, [X1,X0,LSL#3]                                     ; +0xf4, 0xcc0188\nADD             X0, X0, #1                                             ; +0xf8, 0xcc018c\nCMP             X0, X2                                                 ; +0xfc, 0xcc0190\nB.NE            loc_CC0184                                             ; +0x100, 0xcc0194\nSTR             XZR, [X19,#0x68]                                       ; +0x104, 0xcc0198\nLDR             X20, [X19,#0x80]                                       ; +0x108, 0xcc019c\nADD             X21, X19, #0x78 ; 'x'                                  ; +0x10c, 0xcc01a0\nCBZ             X20, loc_CC01D0                                        ; +0x110, 0xcc01a4\nLDR             X1, [X20]                                              ; +0x114, 0xcc01a8\nMOV             X0, X21                                                ; +0x118, 0xcc01ac\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEENS_19__map_value_compareIS3_SA_NS_4lessIS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE; std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,std::string>,void *> *) ; +0x11c, 0xcc01b0\nLDR             X1, [X20,#8]                                           ; +0x120, 0xcc01b4\nMOV             X0, X21                                                ; +0x124, 0xcc01b8\nBL              _ZNSt6__ndk16__treeINS_12__value_typeINS_4pairIiiEENS_12basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEEEENS_19__map_value_compareIS3_SA_NS_4lessIS3_EELb1EEENS7_ISA_EEE7destroyEPNS_11__tree_nodeISA_PvEE; std::__tree<std::__value_type<std::pair<int,int>,std::string>,std::__map_value_compare<std::pair<int,int>,std::__value_type<std::pair<int,int>,std::string>,std::less<std::pair<int,int>>,true>,std::allocator<std::__value_type<std::pair<int,int>,std::string>>>::destroy(std::__tree_node<std::__value_type<std::pair<int,int>,std::string>,void *> *) ; +0x128, 0xcc01bc\nLDRB            W0, [X20,#0x28]                                        ; +0x12c, 0xcc01c0\nTBNZ            W0, #0, loc_CC01F0                                     ; +0x130, 0xcc01c4\nMOV             X0, X20; void *                                        ; +0x134, 0xcc01c8\nBL              _ZdlPv; operator delete(void *)                        ; +0x138, 0xcc01cc\nSTR             XZR, [X19,#0x88]                                       ; +0x13c, 0xcc01d0\nADD             X0, X19, #0x80                                         ; +0x140, 0xcc01d4\nSTR             XZR, [X19,#0x80]                                       ; +0x144, 0xcc01d8\nSTR             X0, [X19,#0x78]                                        ; +0x148, 0xcc01dc\nLDP             X19, X20, [SP,#0x30+var_20]                            ; +0x14c, 0xcc01e0\nLDR             X21, [SP,#0x30+var_10]                                 ; +0x150, 0xcc01e4\nLDP             X29, X30, [SP+0x30+var_30],#0x30                       ; +0x154, 0xcc01e8\nRET                                                                    ; +0x158, 0xcc01ec\nLDR             X0, [X20,#0x38]; void *                                ; +0x15c, 0xcc01f0\nBL              _ZdlPv; operator delete(void *)                        ; +0x160, 0xcc01f4\nB               loc_CC01C8                                             ; +0x164, 0xcc01f8\nLDR             X0, [X0,#0x18]                                         ; +0x168, 0xcc01fc\nCBNZ            X0, loc_CC00E4                                         ; +0x16c, 0xcc0200\nB               loc_CC010C                                             ; +0x170, 0xcc0204", "xrefs": ["EditorSFXManager::firstSetup @ 0xcc0218", "EditorSFXManager::~EditorSFXManager @ 0xcc0314", "EditorSFXManager::dataLoaded @ 0xcc40f4", "EditorSFXManager::deserializeAll @ 0xcc6db0", "EditorSoundsSettingsPopup::FLAlert_Clicked @ 0xcd7cc4", "<???> @ 0x97dc8"], "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"}