//
// EditorSFXManager::releaseBinding from 0x1008e25a0 to 0x1008e25f2 (82 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 12:37:46 +0000
//
void __fastcall EditorSFXManager::releaseBinding(__int64 a1, _DWORD **a2)
{
_DWORD *v2; // rdi
if ( a2 )
{
if ( *a2 )
{
cocos2d::CCObject::release(*a2);
*a2 = nullptr;
}
v2 = a2[5];
if ( v2 )
{
a2[6] = v2;
operator delete(v2);
}
if ( ((_BYTE)a2[2] & 1) != 0 )
operator delete(a2[4]);
operator delete(a2);
}
}