{"type": "func", "start": 4299976232, "end": 4299976312, "name": "EditorSFXActionConfigLayer::onDeleteSound", "pseudocode": "// \n// EditorSFXActionConfigLayer::onDeleteSound from 0x1004c6e28 to 0x1004c6e78 (80 bytes)\n// \n// 1 xrefs:\n// > EditorSFXActionConfigLayer::refreshRows @ 0x1004c6ae4\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 11:06:23 +0000\n// \n\n_DWORD *__fastcall EditorSFXActionConfigLayer::onDeleteSound(__int64 a1, __int64 a2)\n{\n  int v3; // w0\n  __n128 v4; // q0\n  int v5; // w8\n  __int64 v6; // x20\n  __int64 v7; // x0\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  v5 = v3 - 1000;\n  if ( v3 < 1000 )\n    v5 = v3 - 993;\n  v6 = (unsigned int)(v5 >> 3);\n  v7 = EditorSFXManager::sharedState(v4);\n  sub_1004C8404(v7, *(unsigned int *)(a1 + 1024), v6);\n  return FLAlertLayer::requestRebuild(a1);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onDeleteSound from 0x1004c6e28 to 0x1004c6e78 (80 bytes)\n; \n; 1 xrefs:\n; > EditorSFXActionConfigLayer::refreshRows @ 0x1004c6ae4\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 11:06:23 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x1004c6e28\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1004c6e2c\nADD             X29, SP, #0x10                                         ; +0x8, 0x1004c6e30\nMOV             X19, X0                                                ; +0xc, 0x1004c6e34\nLDR             X8, [X1]                                               ; +0x10, 0x1004c6e38\nLDR             X8, [X8,#0x40]                                         ; +0x14, 0x1004c6e3c\nMOV             X0, X1                                                 ; +0x18, 0x1004c6e40\nBLR             X8                                                     ; +0x1c, 0x1004c6e44\nSUBS            W8, W0, #0x3E8                                         ; +0x20, 0x1004c6e48\nSUB             W9, W0, #0x3E1                                         ; +0x24, 0x1004c6e4c\nCSEL            W8, W9, W8, LT                                         ; +0x28, 0x1004c6e50\nASR             W20, W8, #3                                            ; +0x2c, 0x1004c6e54\nBL              EditorSFXManager__sharedState                          ; +0x30, 0x1004c6e58\nLDR             W1, [X19,#0x400]                                       ; +0x34, 0x1004c6e5c\nMOV             X2, X20                                                ; +0x38, 0x1004c6e60\nBL              sub_1004C8404                                          ; +0x3c, 0x1004c6e64\nMOV             X0, X19                                                ; +0x40, 0x1004c6e68\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x44, 0x1004c6e6c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x48, 0x1004c6e70\nB               FLAlertLayer__requestRebuild                           ; +0x4c, 0x1004c6e74", "xrefs": ["EditorSFXActionConfigLayer::refreshRows @ 0x1004c6ae4"], "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"}