//
// NewThreadPopup::threadSendFailed from 0x1400f3c10 to 0x1400f3cf8 (232 bytes)
//
// 2 xrefs:
// > ??> @ 0x14072a250
// > ??> @ 0x140915188
//
// 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:26:37 +0000
//
// Hidden C++ exception states: #wind=1
void __fastcall NewThreadPopup::threadSendFailed(__int64 a1)
{
__int64 v1; // rcx
__int64 *v2; // rdi
__int64 v3; // rbx
__int64 v4; // rdx
__int64 v5; // r8
__int64 v6; // rax
_DWORD v7[4]; // [rsp+30h] [rbp-48h] BYREF
__int64 v8; // [rsp+40h] [rbp-38h]
__int64 v9; // [rsp+48h] [rbp-30h]
__int128 v10; // [rsp+50h] [rbp-28h] BYREF
__int64 v11; // [rsp+60h] [rbp-18h]
__int64 v12; // [rsp+68h] [rbp-10h]
NewThreadPopup::setSendPending(a1 - 664, 0);
if ( !byte_1409097D9 )
{
v2 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v1) + 272);
v10 = 0;
v11 = 0;
v12 = 15;
LOBYTE(v10) = 0;
v7[3] = 0;
v8 = 11;
v9 = 15;
strcpy((char *)v7, "Send failed");
v3 = *v2;
v6 = TextAlertPopup::create(v7, v4, v5, 150, &v10);
(*(void (__fastcall **)(__int64 *, __int64, __int64))(v3 + 456))(v2, v6, 1000);
}
}