//
// CustomSFXWidget::updateSFXObject from 0x1006b7510 to 0x1006b7592 (130 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:35:28 +0000
//
__int64 __fastcall CustomSFXWidget::updateSFXObject(__int64 a1, __int64 a2)
{
__int64 v2; // r14
int v4; // r15d
_DWORD *v5; // rdi
v2 = a2;
v4 = 0;
(*(void (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 368) + 344LL))(*(_QWORD *)(a1 + 368), 0);
v5 = *(_DWORD **)(a1 + 336);
if ( v5 == (_DWORD *)a2 )
{
v2 = *(_QWORD *)(a1 + 336);
if ( !v5 )
goto LABEL_8;
goto LABEL_7;
}
if ( a2 )
{
cocos2d::CCObject::retain(a2);
v5 = *(_DWORD **)(a1 + 336);
}
if ( v5 )
cocos2d::CCObject::release(v5);
*(_QWORD *)(a1 + 336) = a2;
if ( a2 )
LABEL_7:
v4 = *(_DWORD *)(v2 + 56);
LABEL_8:
*(_DWORD *)(a1 + 496) = v4;
return CustomSFXWidget::updateSFXInfo(a1);
}