{"type": "func", "start": 5370301392, "end": 5370301493, "name": "EditorSFXActionConfigLayer::onDeleteSound", "pseudocode": "// \n// EditorSFXActionConfigLayer::onDeleteSound from 0x140184bd0 to 0x140184c35 (101 bytes)\n// \n// 2 xrefs:\n// > EditorSFXActionConfigLayer::refreshRows @ 0x1401844a5\n// > <???> @ 0x140918d70\n// \n// This function is hookable on this platform (idp: pc, 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:27:38 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::onDeleteSound(__int64 a1, __int64 a2)\n{\n  int v3; // eax\n  unsigned int v4; // edi\n  unsigned int v5; // ebx\n  __int64 v6; // rax\n\n  v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);\n  v4 = *(_DWORD *)(a1 + 1008);\n  v5 = (v3 - 1000) / 8;\n  v6 = EditorSFXManager::sharedState();\n  EditorSFXManager::removeSoundAt(v6, v4, v5);\n  return cocos2d::CCNode::scheduleOnce(a1, FLAlertLayer::rebuildContentDeferred);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onDeleteSound from 0x140184bd0 to 0x140184c35 (101 bytes)\n; \n; 2 xrefs:\n; > EditorSFXActionConfigLayer::refreshRows @ 0x1401844a5\n; > <???> @ 0x140918d70\n; \n; This function is hookable on this platform (idp: pc, 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:27:38 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140184bd0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x140184bd5\npush    rdi                                                            ; +0xa, 0x140184bda\nsub     rsp, 20h                                                       ; +0xb, 0x140184bdb\nmov     rax, [rdx]                                                     ; +0xf, 0x140184bdf\nmov     rsi, rcx                                                       ; +0x12, 0x140184be2\nmov     rcx, rdx                                                       ; +0x15, 0x140184be5\ncall    qword ptr [rax+38h]                                            ; +0x18, 0x140184be8\nmov     edi, [rsi+3F0h]                                                ; +0x1b, 0x140184beb\nsub     eax, 3E8h                                                      ; +0x21, 0x140184bf1\ncdq                                                                    ; +0x26, 0x140184bf6\nand     edx, 7                                                         ; +0x27, 0x140184bf7\nlea     ebx, [rdx+rax]                                                 ; +0x2a, 0x140184bfa\nsar     ebx, 3                                                         ; +0x2d, 0x140184bfd\ncall    EditorSFXManager__sharedState                                  ; +0x30, 0x140184c00\nmov     rcx, rax                                                       ; +0x35, 0x140184c05\nmov     r8d, ebx                                                       ; +0x38, 0x140184c08\nmov     edx, edi                                                       ; +0x3b, 0x140184c0b\ncall    EditorSFXManager__removeSoundAt                                ; +0x3d, 0x140184c0d\nxorps   xmm2, xmm2                                                     ; +0x42, 0x140184c12\nlea     rdx, FLAlertLayer__rebuildContentDeferred                      ; +0x45, 0x140184c15\nmov     rcx, rsi                                                       ; +0x4c, 0x140184c1c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4f, 0x140184c1f\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x54, 0x140184c24\nadd     rsp, 20h                                                       ; +0x59, 0x140184c29\npop     rdi                                                            ; +0x5d, 0x140184c2d\njmp     cs:?scheduleOnce@CCNode@cocos2d@@QEAAXP8CCObject@2@EAAXM@ZM@Z; cocos2d::CCNode::scheduleOnce(void (cocos2d::CCObject::*)(float),float) ; +0x5e, 0x140184c2e", "xrefs": ["EditorSFXActionConfigLayer::refreshRows @ 0x1401844a5", "<???> @ 0x140918d70"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "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"}