{"type": "func", "start": 7846734, "end": 7846784, "name": "EditorSFXActionConfigLayer::onDeleteSound", "pseudocode": "// \n// EditorSFXActionConfigLayer::onDeleteSound from 0x77bb4e to 0x77bb80 (50 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:23 +0000\n// \n\nint __fastcall EditorSFXActionConfigLayer::onDeleteSound(EditorSFXActionConfigLayer *this, cocos2d::CCObject *a2)\n{\n  EditorSFXManager *v3; // r4\n  EditorSFXManager *v4; // r0\n  int v5; // r2\n\n  v3 = (EditorSFXManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);\n  v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);\n  v5 = (int)v3 - 1000;\n  if ( (int)v3 - 1000 < 0 )\n    v5 = (int)v3 - 993;\n  EditorSFXManager::removeSoundAt(v4, *((_DWORD *)this + 179), v5 >> 3);\n  return FLAlertLayer::requestRebuild(this);\n}", "assembly": "; \n; EditorSFXActionConfigLayer::onDeleteSound from 0x77bb4e to 0x77bb80 (50 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:23 +0000\n; \nPUSH            {R3-R5,LR}                                             ; +0x0, 0x77bb4e\nMOV             R5, R0                                                 ; +0x2, 0x77bb50\nLDR             R3, [R1]                                               ; +0x4, 0x77bb52\nMOV             R0, R1                                                 ; +0x6, 0x77bb54\nLDR             R3, [R3,#0x20]                                         ; +0x8, 0x77bb56\nBLX             R3                                                     ; +0xa, 0x77bb58\nMOV             R4, R0                                                 ; +0xc, 0x77bb5a\nBL              _ZN16EditorSFXManager11sharedStateEv; EditorSFXManager::sharedState(void) ; +0xe, 0x77bb5c\nSUBS.W          R2, R4, #0x3E8                                         ; +0x12, 0x77bb60\nLDR.W           R1, [R5,#0x2CC]; int                                   ; +0x16, 0x77bb64\nITT MI                                                                 ; +0x1a, 0x77bb68\nMOVMI           R3, #0xFFFFFC1F                                        ; +0x1c, 0x77bb6a\nADDMI           R2, R4, R3                                             ; +0x20, 0x77bb6e\nASRS            R2, R2, #3; int                                        ; +0x22, 0x77bb70\nBL              _ZN16EditorSFXManager13removeSoundAtEii; EditorSFXManager::removeSoundAt(int,int) ; +0x24, 0x77bb72\nMOV             R0, R5; this                                           ; +0x28, 0x77bb76\nPOP.W           {R3-R5,LR}                                             ; +0x2a, 0x77bb78\nB.W             _ZN12FLAlertLayer14requestRebuildEv; FLAlertLayer::requestRebuild(void) ; +0x2e, 0x77bb7c", "xrefs": [], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}