//
// CustomSFXWidget::updateError from 0x6a6340 to 0x6a63dc (156 bytes)
//
// 1 xrefs:
// > CustomSFXWidget::downloadSFXFailed @ 0x6a6de4
//
// 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::updateError(int a1, int a2)
{
int *v3; // r0
int v4; // r3
void (__fastcall *v5)(int *, _DWORD *); // r3
_DWORD v7[2]; // [sp+0h] [bp-8h] BYREF
v7[0] = a1;
v7[1] = a2;
(*(void (__fastcall **)(_DWORD, int))(**(_DWORD **)(a1 + 288) + 172))(*(_DWORD *)(a1 + 288), 1);
v3 = *(int **)(a1 + 288);
v4 = *v3;
LOWORD(v7[0]) = 13055;
v5 = *(void (__fastcall **)(int *, _DWORD *))(v4 + 536);
BYTE2(v7[0]) = 25;
v5(v3, v7);
(*(void (**)(void))(**(_DWORD **)(a1 + 288) + 464))();
return cocos2d::CCLabelBMFont::limitLabelWidth(*(cocos2d::CCLabelBMFont **)(a1 + 288), 230.0, 0.4, 0.0);
}