//
// MessageThreadsPage::isCovered from 0x746aa0 to 0x746b5a (186 bytes)
//
// 1 xrefs:
// > MessageThreadsPage::onInboxPoll @ 0x75115c
//
// 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:43 +0000
//
int __fastcall MessageThreadsPage::isCovered(MessageThreadsPage *this)
{
int v2; // r0
int v3; // r5
int v4; // r0
int v5; // r4
MessageThreadsPage **v7; // r5
int v8; // r7
unsigned int v9; // r7
MessageThreadsPage *v10; // r4
MessageThreadsPage *v11; // t1
v2 = cocos2d::CCDirector::sharedDirector(this);
v3 = *(_DWORD *)(v2 + 220);
if ( !v3 || !(*(int (__fastcall **)(_DWORD))(*(_DWORD *)v3 + 244))(*(_DWORD *)(v2 + 220)) )
return 0;
v4 = (*(int (__fastcall **)(MessageThreadsPage *))(*(_DWORD *)this + 256))(this);
v5 = v4;
if ( v4 == v3 )
{
if ( (*(int (__fastcall **)(int))(*(_DWORD *)v4 + 244))(v4)
&& **(_DWORD **)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 244))(v5) + 52) )
{
v7 = *(MessageThreadsPage ***)(*(_DWORD *)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 244))(v5) + 52) + 12);
v8 = *(_DWORD *)(*(_DWORD *)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 244))(v5) + 52) + 12);
v9 = v8 + 4 * (**(_DWORD **)((*(int (__fastcall **)(int))(*(_DWORD *)v5 + 244))(v5) + 52) + 0x3FFFFFFF);
while ( (unsigned int)v7 <= v9 )
{
v11 = *v7++;
v10 = v11;
if ( !v11 )
break;
if ( v10 != this
&& (*(int (__fastcall **)(MessageThreadsPage *))(*(_DWORD *)v10 + 52))(v10) > *((_DWORD *)this + 116)
&& !_dynamic_cast(
v10,
(const struct __class_type_info *)&`typeinfo for'cocos2d::CCNode,
(const struct __class_type_info *)&`typeinfo for'TextAlertPopup,
0) )
{
return 1;
}
}
}
return 0;
}
return 1;
}