{"type": "func", "start": 4304283040, "end": 4304283122, "name": "EditorSFXManager::releaseBinding", "pseudocode": "// \n// EditorSFXManager::releaseBinding from 0x1008e25a0 to 0x1008e25f2 (82 bytes)\n// \n// 0 xrefs:\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 12:37:46 +0000\n// \n\nvoid __fastcall EditorSFXManager::releaseBinding(__int64 a1, _DWORD **a2)\n{\n  _DWORD *v2; // rdi\n\n  if ( a2 )\n  {\n    if ( *a2 )\n    {\n      cocos2d::CCObject::release(*a2);\n      *a2 = nullptr;\n    }\n    v2 = a2[5];\n    if ( v2 )\n    {\n      a2[6] = v2;\n      operator delete(v2);\n    }\n    if ( ((_BYTE)a2[2] & 1) != 0 )\n      operator delete(a2[4]);\n    operator delete(a2);\n  }\n}", "assembly": "; \n; EditorSFXManager::releaseBinding from 0x1008e25a0 to 0x1008e25f2 (82 bytes)\n; \n; 0 xrefs:\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 12:37:46 +0000\n; \ntest    rsi, rsi                                                       ; +0x0, 0x1008e25a0\njz      short locret_1008E25F1                                         ; +0x3, 0x1008e25a3\npush    rbp                                                            ; +0x5, 0x1008e25a5\nmov     rbp, rsp                                                       ; +0x6, 0x1008e25a6\npush    rbx                                                            ; +0x9, 0x1008e25a9\npush    rax                                                            ; +0xa, 0x1008e25aa\nmov     rbx, rsi                                                       ; +0xb, 0x1008e25ab\nmov     rdi, [rsi]                                                     ; +0xe, 0x1008e25ae\ntest    rdi, rdi                                                       ; +0x11, 0x1008e25b1\njz      short loc_1008E25C2                                            ; +0x14, 0x1008e25b4\ncall    cocos2d__CCObject__release                                     ; +0x16, 0x1008e25b6\nmov     qword ptr [rbx], 0                                             ; +0x1b, 0x1008e25bb\nmov     rdi, [rbx+28h]; __p                                            ; +0x22, 0x1008e25c2\ntest    rdi, rdi                                                       ; +0x26, 0x1008e25c6\njz      short loc_1008E25D4                                            ; +0x29, 0x1008e25c9\nmov     [rbx+30h], rdi                                                 ; +0x2b, 0x1008e25cb\ncall    __ZdlPv; operator delete(void *)                               ; +0x2f, 0x1008e25cf\ntest    byte ptr [rbx+10h], 1                                          ; +0x34, 0x1008e25d4\njz      short loc_1008E25E3                                            ; +0x38, 0x1008e25d8\nmov     rdi, [rbx+20h]; __p                                            ; +0x3a, 0x1008e25da\ncall    __ZdlPv; operator delete(void *)                               ; +0x3e, 0x1008e25de\nmov     rdi, rbx; __p                                                  ; +0x43, 0x1008e25e3\nadd     rsp, 8                                                         ; +0x46, 0x1008e25e6\npop     rbx                                                            ; +0x4a, 0x1008e25ea\npop     rbp                                                            ; +0x4b, 0x1008e25eb\njmp     __ZdlPv; operator delete(void *)                               ; +0x4c, 0x1008e25ec\nretn                                                                   ; +0x51, 0x1008e25f1", "xrefs": [], "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"}