//
// MessageThreadsPage::onInboxPoll from 0x751138 to 0x75117a (66 bytes)
//
// 0 xrefs:
//
// 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:51 +0000
//
GameLevelManager *__fastcall MessageThreadsPage::onInboxPoll(GameLevelManager *this, float a2)
{
GameLevelManager *v2; // r4
int v3; // r3
int v4; // r3
v2 = this;
if ( *((_DWORD *)this + 133) )
{
v3 = *((unsigned __int8 *)this + 592);
if ( (v3 & 1) != 0 )
v4 = *((_DWORD *)this + 149);
else
v4 = v3 >> 1;
if ( !v4 )
{
this = (GameLevelManager *)MessageThreadsPage::selectedCount(this);
if ( (int)this <= 0 )
{
this = (GameLevelManager *)MessageThreadsPage::isCovered(v2);
if ( !this && !*((_BYTE *)v2 + 661) )
return MessageThreadsPage::loadPage(v2, *((_DWORD *)v2 + 151), 1);
}
}
}
return this;
}