//
// CustomSFXWidget::updateError from 0x1006b88b0 to 0x1006b894f (159 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::updateError(__int64 a1, int a2)
{
__int64 v3; // rdi
const char *v4; // rsi
__int16 v6; // [rsp+Ch] [rbp-14h] BYREF
char v7; // [rsp+Eh] [rbp-12h]
(*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 368) + 344LL))(*(_QWORD *)(a1 + 368), 1);
v3 = *(_QWORD *)(a1 + 368);
v7 = 25;
v6 = 13055;
(*(void (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v3 + 1072LL))(v3, &v6);
if ( (unsigned int)(a2 - 1) > 2 )
v4 = "Download failed. Please try again later.";
else
v4 = off_100B8A478[a2 - 1];
(*(void (__fastcall **)(_QWORD, const char *))(**(_QWORD **)(a1 + 368) + 928LL))(*(_QWORD *)(a1 + 368), v4);
return cocos2d::CCLabelBMFont::limitLabelWidth(*(_QWORD *)(a1 + 368), 230.0, (__m128)0x3ECCCCCDu, (__m128)0LL);
}