//
// CustomSFXWidget::showLoadingArt from 0x6a6130 to 0x6a6246 (278 bytes)
//
// 2 xrefs:
// > CustomSFXWidget::startMonitorDownload @ 0x6a625e
// > CustomSFXWidget::onDownload @ 0x6a62ec
//
// 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:30 +0000
//
int __fastcall CustomSFXWidget::showLoadingArt(CustomSFXWidget *this)
{
int v2; // r6
void (__fastcall *v3)(int, _BYTE *); // r9
int v4; // r10
float v5; // s17
float v6; // s16
float v7; // s15
float v8; // s16
cocos2d::CCNode *v9; // r5
unsigned __int8 v10; // r2
cocos2d::CCAction *v11; // r0
int v12; // r0
_BYTE v14[8]; // [sp+4h] [bp-14h] BYREF
_BYTE v15[8]; // [sp+Ch] [bp-Ch] BYREF
v2 = *((_DWORD *)this + 85);
if ( v2 )
{
v3 = *(void (__fastcall **)(int, _BYTE *))(*(_DWORD *)v2 + 92);
if ( *((_BYTE *)this + 352) )
{
v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 96))(*((_DWORD *)this + 71));
v5 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 164))(*((_DWORD *)this + 71));
v6 = COERCE_FLOAT((*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 71) + 84))(*((_DWORD *)this + 71)));
v7 = (float)((float)(v5 * v6) + 12.0) + COERCE_FLOAT(CustomSFXWidget::infoBtnWidth(this));
}
else
{
v4 = (*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 96))(*((_DWORD *)this + 70));
v8 = *(float *)(*(int (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 164))(*((_DWORD *)this + 70));
v7 = (float)(v8 * (*(float (__fastcall **)(_DWORD))(**((_DWORD **)this + 70) + 84))(*((_DWORD *)this + 70)))
+ 14.0;
}
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v14, v7, 0.0);
cocos2d::CCPoint::operator+(v15, v4, v14);
v3(v2, v15);
cocos2d::CCNode::stopAllActions(*((cocos2d::CCNode **)this + 85));
(*(void (__fastcall **)(_DWORD, int))(**((_DWORD **)this + 85) + 456))(*((_DWORD *)this + 85), 25);
v9 = *((cocos2d::CCNode **)this + 85);
v11 = (cocos2d::CCAction *)cocos2d::CCFadeTo::create((cocos2d::CCFadeTo *)0x3E4CCCCD, COERCE_FLOAT(175), v10);
cocos2d::CCNode::runAction(v9, v11);
v12 = *((_DWORD *)this + 85);
}
else
{
v12 = *((_DWORD *)this + 83);
}
return (*(int (__fastcall **)(int, int))(*(_DWORD *)v12 + 172))(v12, 1);
}