//
// sub_100264984 from 0x100264984 to 0x100264a2c (168 bytes)
//
// 6 xrefs:
// > MessagesProfilePage::init @ 0x1002642f0
// > sub_100264750 @ 0x1002647dc
// > sub_100264A2C @ 0x100264a2c
// > sub_100264D44 @ 0x100264eac
// > MessagesProfilePage::loadMessagesFinished @ 0x1002654c4
// > MessagesProfilePage::loadMessagesFailed @ 0x10026555c
//
// 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 11:01:40 +0000
//
__int64 __fastcall sub_100264984(__int64 a1)
{
int v2; // w20
__int64 v3; // x0
__int64 v4; // x21
__int64 v5; // x0
__int64 CString; // x0
__int64 result; // x0
v2 = sub_100264CCC(a1);
v3 = *(_QWORD *)(a1 + 800);
if ( v3 )
{
(*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v3 + 344LL))(v3, v2 > 0);
v4 = *(_QWORD *)(a1 + 800);
v5 = sub_1003065B0("(%i)", v2);
CString = cocos2d::CCString::getCString(v5);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v4 + 928LL))(v4, CString);
}
result = *(_QWORD *)(a1 + 808);
if ( result )
return (*(__int64 (__fastcall **)(__int64, bool))(*(_QWORD *)result + 344LL))(result, v2 > 0);
return result;
}