{"type": "func", "start": 4299980596, "end": 4299980684, "name": "EditorSFXManager::releaseBinding", "pseudocode": "// \n// EditorSFXManager::releaseBinding from 0x1004c7f34 to 0x1004c7f8c (88 bytes)\n// \n// 2 xrefs:\n// > EditorSFXManager::clearAll @ 0x1004c753c\n// > sub_1004C8404 @ 0x1004c84a0\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:24 +0000\n// \n\nvoid __fastcall EditorSFXManager::releaseBinding(int a1, char *__p)\n{\n  void *v3; // x0\n\n  if ( __p )\n  {\n    if ( *(_QWORD *)__p )\n    {\n      cocos2d::CCObject::release(*(_DWORD **)__p);\n      *(_QWORD *)__p = 0;\n    }\n    v3 = *((void **)__p + 5);\n    if ( v3 )\n    {\n      *((_QWORD *)__p + 6) = v3;\n      operator delete(v3);\n    }\n    if ( __p[39] < 0 )\n      operator delete(*((void **)__p + 2));\n    operator delete(__p);\n  }\n}", "assembly": "; \n; EditorSFXManager::releaseBinding from 0x1004c7f34 to 0x1004c7f8c (88 bytes)\n; \n; 2 xrefs:\n; > EditorSFXManager::clearAll @ 0x1004c753c\n; > sub_1004C8404 @ 0x1004c84a0\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:24 +0000\n; \nCBZ             X1, locret_1004C7F88                                   ; +0x0, 0x1004c7f34\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x4, 0x1004c7f38\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x8, 0x1004c7f3c\nADD             X29, SP, #0x10                                         ; +0xc, 0x1004c7f40\nMOV             X19, X1                                                ; +0x10, 0x1004c7f44\nLDR             X0, [X1]                                               ; +0x14, 0x1004c7f48\nCBZ             X0, loc_1004C7F58                                      ; +0x18, 0x1004c7f4c\nBL              cocos2d__CCObject__release                             ; +0x1c, 0x1004c7f50\nSTR             XZR, [X19]                                             ; +0x20, 0x1004c7f54\nLDR             X0, [X19,#0x28]; __p                                   ; +0x24, 0x1004c7f58\nCBZ             X0, loc_1004C7F68                                      ; +0x28, 0x1004c7f5c\nSTR             X0, [X19,#0x30]                                        ; +0x2c, 0x1004c7f60\nBL              __ZdlPv; operator delete(void *)                       ; +0x30, 0x1004c7f64\nLDRSB           W8, [X19,#0x27]                                        ; +0x34, 0x1004c7f68\nTBZ             W8, #0x1F, loc_1004C7F78                               ; +0x38, 0x1004c7f6c\nLDR             X0, [X19,#0x10]; __p                                   ; +0x3c, 0x1004c7f70\nBL              __ZdlPv; operator delete(void *)                       ; +0x40, 0x1004c7f74\nMOV             X0, X19; __p                                           ; +0x44, 0x1004c7f78\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x48, 0x1004c7f7c\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x4c, 0x1004c7f80\nB               __ZdlPv; operator delete(void *)                       ; +0x50, 0x1004c7f84\nRET                                                                    ; +0x54, 0x1004c7f88", "xrefs": ["EditorSFXManager::clearAll @ 0x1004c753c", "sub_1004C8404 @ 0x1004c84a0"], "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"}