{"type": "func", "start": 13359784, "end": 13359868, "name": "EditorSFXActionConfigLayer::onDeleteSound", "pseudocode": "// \n// EditorSFXActionConfigLayer::onDeleteSound from 0xcbdaa8 to 0xcbdafc (84 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0xf2980\n// > EditorSFXActionConfigLayer::refreshRows @ 0xcbe660\n// > <???> @ 0x1547580\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:15 +0000\n// \n\n__int64 __fastcall EditorSFXActionConfigLayer::onDeleteSound(EditorSFXActionConfigLayer *this, cocos2d::CCObject *a2)\n{\n  EditorSFXManager *v3; // x0\n  int v4; // w19\n  EditorSFXManager *v5; // x0\n  int v6; // w2\n\n  v3 = (EditorSFXManager *)(*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2);\n  v4 = (int)v3;\n  v5 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);\n  v6 = v4 - 993;\n  if ( v4 - 1000 >= 0 )\n    v6 = v4 - 1000;\n  EditorSFXManager::removeSoundAt(v5, *((_DWORD *)this + 256), v6 >> 3);\n  return FLAlertLayer::requestRebuild(this);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onDeleteSound from 0xcbdaa8 to 0xcbdafc (84 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0xf2980\n; > EditorSFXActionConfigLayer::refreshRows @ 0xcbe660\n; > <???> @ 0x1547580\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:15 +0000\n; \nSTP             X29, X30, [SP,#-0x20+var_s0]!                          ; +0x0, 0xcbdaa8\nMOV             X29, SP                                                ; +0x4, 0xcbdaac\nSTP             X19, X20, [SP,#var_s10]                                ; +0x8, 0xcbdab0\nMOV             X20, X0                                                ; +0xc, 0xcbdab4\nMOV             X0, X1                                                 ; +0x10, 0xcbdab8\nLDR             X1, [X1]                                               ; +0x14, 0xcbdabc\nLDR             X1, [X1,#0x40]                                         ; +0x18, 0xcbdac0\nBLR             X1                                                     ; +0x1c, 0xcbdac4\nMOV             W19, W0                                                ; +0x20, 0xcbdac8\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0x24, 0xcbdacc\nSUB             W1, W19, #0x3E8                                        ; +0x28, 0xcbdad0\nCMP             W1, WZR                                                ; +0x2c, 0xcbdad4\nADD             W2, W1, #7                                             ; +0x30, 0xcbdad8\nCSEL            W2, W2, W1, LT                                         ; +0x34, 0xcbdadc\nLDR             W1, [X20,#0x400]; int                                  ; +0x38, 0xcbdae0\nASR             W2, W2, #3; int                                        ; +0x3c, 0xcbdae4\nBL              _ZN16EditorSFXManager13removeSoundAtEii; EditorSFXManager::removeSoundAt(int,int) ; +0x40, 0xcbdae8\nMOV             X0, X20; this                                          ; +0x44, 0xcbdaec\nLDP             X19, X20, [SP,#var_s10]                                ; +0x48, 0xcbdaf0\nLDP             X29, X30, [SP+var_s0],#0x20                            ; +0x4c, 0xcbdaf4\nB               _ZN12FLAlertLayer14requestRebuildEv; FLAlertLayer::requestRebuild(void) ; +0x50, 0xcbdaf8", "xrefs": ["<???> @ 0xf2980", "EditorSFXActionConfigLayer::refreshRows @ 0xcbe660", "<???> @ 0x1547580"], "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"}