//
// MessageThreadsPage::threadUpdateFinished from 0x751004 to 0x7510fe (250 bytes)
//
// 1 xrefs:
// > `non-virtual thunk to'MessageThreadsPage::threadUpdateFinished @ 0x75111c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:58:50 +0000
//
GameLevelManager *__fastcall MessageThreadsPage::threadUpdateFinished(GameLevelManager *this, int a2, int a3)
{
GameLevelManager *v3; // r9
const char *v5; // r8
int *v6; // r10
int v7; // r3
void (__fastcall *v8)(int *, cocos2d::CCNode *, int); // r11
size_t v9; // r0
cocos2d::CCNode *v10; // r0
int v11; // r2
int v12[3]; // [sp+Ch] [bp-20h] BYREF
int v13[3]; // [sp+18h] [bp-14h] BYREF
v3 = this;
switch ( a3 )
{
case 1:
if ( *((_DWORD *)this + 152) == 1 )
v5 = "Conversation deleted";
else
v5 = "Conversations deleted";
break;
case 3:
v5 = "Marked as read";
break;
case 5:
case 11:
case 18:
goto LABEL_12;
default:
return this;
}
v6 = *(int **)(cocos2d::CCDirector::sharedDirector(this) + 220);
v7 = *v6;
memset(v12, 0, sizeof(v12));
v8 = *(void (__fastcall **)(int *, cocos2d::CCNode *, int))(v7 + 232);
v9 = strlen(v5);
std::string::__init(v12, v5, v9);
memset(v13, 0, sizeof(v13));
std::string::__init(v13, &unk_B6B226, 0);
v10 = TextAlertPopup::create((int)v12, (cocos2d::CCDelayTime *)0x3F000000, 0.6, 150, (int)v13);
v8(v6, v10, 1000);
std::string::~string((int)v13);
std::string::~string((int)v12);
LABEL_12:
v11 = (a3 == 5 || a3 == 11 || a3 == 18) && *((_DWORD *)v3 + 133) != 0;
return MessageThreadsPage::loadPage(v3, *((_DWORD *)v3 + 151), v11);
}