//
// ThreadDescPopup::threadSearchFinished from 0xc62308 to 0xc6236c (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'ThreadDescPopup::threadSearchFinished @ 0xc62370
// > ??> @ 0xfcaf0
// > ??> @ 0x14f2740
//
// 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 13:05:22 +0000
//
__int64 __fastcall ThreadDescPopup::threadSearchFinished(
ThreadDescPopup *this,
__int64 a2,
cocos2d::CCArray *a3,
unsigned __int8 a4)
{
__int64 v5; // x0
__int64 result; // x0
char *v7; // x19
v5 = *((_QWORD *)this + 130);
if ( v5 )
(*(void (__fastcall **)(__int64, __int64, cocos2d::CCArray *, _QWORD))(*(_QWORD *)v5 + 1424LL))(v5, a2, a3, a4);
result = *((unsigned __int8 *)this + 1113);
if ( *((_BYTE *)this + 1113) )
{
result = *(_QWORD *)(GameLevelManager::sharedState((GameLevelManager *)result) + 1264);
v7 = (char *)this + 1016;
if ( (char *)result != v7 )
{
result = GameLevelManager::sharedState((GameLevelManager *)result);
*(_QWORD *)(result + 1264) = v7;
}
}
return result;
}