//
// ThreadViewPopup::threadSearchFailed from 0x1400dc580 to 0x1400dc6a5 (293 bytes)
//
// 3 xrefs:
// > ??> @ 0x14072a1c8
// > ??> @ 0x140914948
// > ??> @ 0x140914954
//
// 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:29 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCAction *__fastcall ThreadViewPopup::threadSearchFailed(__int64 a1, int a2)
{
struct cocos2d::CCAction *result; // rax
__int64 v4; // rcx
__int64 *v5; // rdi
__int64 v6; // rbx
__int64 v7; // rdx
__int64 v8; // r8
__int64 v9; // rax
_WORD v10[8]; // [rsp+30h] [rbp-48h] BYREF
__int64 v11; // [rsp+40h] [rbp-38h]
__int64 v12; // [rsp+48h] [rbp-30h]
__int128 v13; // [rsp+50h] [rbp-28h] BYREF
__int64 v14; // [rsp+60h] [rbp-18h]
__int64 v15; // [rsp+68h] [rbp-10h]
result = *(struct cocos2d::CCAction **)(a1 + 72);
if ( a2 == *((_DWORD *)result + 14) )
{
v4 = *(_QWORD *)(a1 + 152);
if ( v4 )
result = LoadingCircle::fadeAndRemove(v4);
if ( !*(_BYTE *)(a1 + 432) )
{
result = (struct cocos2d::CCAction *)(a1 + 440);
*(_QWORD *)(a1 + 456) = 0;
if ( *(_QWORD *)(a1 + 464) > 0xFu )
result = *(struct cocos2d::CCAction **)result;
*(_BYTE *)result = 0;
}
if ( !byte_1409097D9 )
{
v5 = *(__int64 **)(cocos2d::CCDirector::sharedDirector(v4) + 272);
v13 = 0;
v14 = 0;
v15 = 15;
LOBYTE(v13) = 0;
v10[7] = 0;
v11 = 13;
v12 = 15;
strcpy((char *)v10, "Search failed");
v6 = *v5;
v9 = TextAlertPopup::create(v10, v7, v8, 150, &v13);
return (struct cocos2d::CCAction *)(*(__int64 (__fastcall **)(__int64 *, __int64, __int64))(v6 + 456))(
v5,
v9,
1000);
}
}
return result;
}