//
// NewThreadPopup::threadSendFailed from 0x10050c580 to 0x10050c62c (172 bytes)
//
// 2 xrefs:
// > sub_10050C660 @ 0x10050c664
// > ??> @ 0x100998a60
//
// This function is hookable on this platform (idp: arm, 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:07:00 +0000
//
void __fastcall NewThreadPopup::threadSendFailed(__int64 a1)
{
__int64 v1; // x19
_QWORD *v2; // x0
void *__p[2]; // [xsp+0h] [xbp-40h] BYREF
char v4; // [xsp+17h] [xbp-29h]
void *v5[2]; // [xsp+18h] [xbp-28h] BYREF
char v6; // [xsp+2Fh] [xbp-11h]
sub_10050C060(a1, 0);
if ( (sub_1000483A4() & 1) == 0 )
{
v1 = *(_QWORD *)(cocos2d::CCDirector::sharedDirector() + 272);
sub_100009900(v5, "Send failed");
sub_100009900(__p, "");
v2 = TextAlertPopup::create((__int64)v5, 150, (__int64)__p, 0.5, 0.6);
(*(void (__fastcall **)(__int64, _QWORD *, __int64))(*(_QWORD *)v1 + 464LL))(v1, v2, 1000);
if ( v4 < 0 )
operator delete(__p[0]);
if ( v6 < 0 )
operator delete(v5[0]);
}
}