//
// CustomSFXWidget::updateSFXObject from 0x6a6d58 to 0x6a6da0 (72 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::init @ 0x6a7c64
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:56:31 +0000
//
int __fastcall CustomSFXWidget::updateSFXObject(CustomSFXWidget *this, SFXInfoObject *a2)
{
cocos2d::CCObject *v4; // r0
int v5; // r3
(*(void (__fastcall **)(_DWORD, _DWORD))(**((_DWORD **)this + 72) + 172))(*((_DWORD *)this + 72), 0);
if ( *((SFXInfoObject **)this + 68) != a2 )
{
if ( a2 )
cocos2d::CCObject::retain(a2);
v4 = *((cocos2d::CCObject **)this + 68);
if ( v4 )
cocos2d::CCObject::release(v4);
*((_DWORD *)this + 68) = a2;
}
v5 = *((_DWORD *)this + 68);
if ( v5 )
v5 = *(_DWORD *)(v5 + 52);
*((_DWORD *)this + 89) = v5;
return CustomSFXWidget::updateSFXInfo(this);
}