//
// CustomSFXWidget::hideLoadingArt from 0x140161cf0 to 0x140161d86 (150 bytes)
//
// 6 xrefs:
// > CustomSFXWidget::init @ 0x1401616a8
// > CustomSFXWidget::updateSFXInfo @ 0x140162bee
// > CustomSFXWidget::downloadSFXFailed @ 0x14016392c
// > ??> @ 0x14089bb0c
// > ??> @ 0x14089bb1c
// > ??> @ 0x140917d38
//
// 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 11:27:25 +0000
//
__int64 __fastcall CustomSFXWidget::hideLoadingArt(__int64 a1)
{
__int64 v2; // rcx
cocos2d::CCNode *v3; // rdi
__int64 v4; // rbx
struct cocos2d::CCFiniteTimeAction *v5; // rax
struct cocos2d::CCAction *v6; // rax
v2 = *(_QWORD *)(a1 + 472);
if ( v2 && (*(unsigned __int8 (__fastcall **)(__int64))(*(_QWORD *)v2 + 344LL))(v2) )
{
cocos2d::CCNode::stopAllActions(*(cocos2d::CCNode **)(a1 + 472));
v3 = *(cocos2d::CCNode **)(a1 + 472);
v4 = cocos2d::CCHide::create();
v5 = cocos2d::CCFadeTo::create(0.2, 0);
v6 = cocos2d::CCSequence::create(v5, v4, 0);
cocos2d::CCNode::runAction(v3, v6);
}
return (*(__int64 (__fastcall **)(_QWORD, _QWORD))(**(_QWORD **)(a1 + 456) + 336LL))(*(_QWORD *)(a1 + 456), 0);
}