//
// RenameThreadPopup::threadMessagesFinished from 0xc61fbc to 0xc62020 (100 bytes)
//
// 3 xrefs:
// > `non-virtual thunk to'RenameThreadPopup::threadMessagesFinished @ 0xc62024
// > ??> @ 0xe2840
// > ??> @ 0x14f1640
//
// 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 RenameThreadPopup::threadMessagesFinished(
RenameThreadPopup *this,
__int64 a2,
cocos2d::CCArray *a3,
unsigned __int8 a4)
{
__int64 v5; // x0
__int64 result; // x0
char *v7; // x19
v5 = *((_QWORD *)this + 129);
if ( v5 )
(*(void (__fastcall **)(__int64, __int64, cocos2d::CCArray *, _QWORD))(*(_QWORD *)v5 + 1408LL))(v5, a2, a3, a4);
result = *((unsigned __int8 *)this + 1072);
if ( *((_BYTE *)this + 1072) )
{
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;
}