//
// sub_100306950 from 0x100306950 to 0x1003069f0 (160 bytes)
//
// 9 xrefs:
// > FRequestProfilePage::init @ 0x10024b598
// > MessagesProfilePage::init @ 0x100264314
// > sub_1003F10B4 @ 0x1003f1124
// > LevelBrowserLayer::init @ 0x100495bf8
// > LevelBrowserLayer::init @ 0x100495f80
// > MessageThreadsPage::init @ 0x1004f4efc
// > MessageThreadsPage::init @ 0x1004f4f20
// > ReportQueuePopup::init @ 0x100523568
// > AccountReviewPopup::init @ 0x100541a58
//
// 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:03:08 +0000
//
__int64 __fastcall sub_100306950(__int64 a1, __int64 a2, __int64 a3, __int64 a4, const char *a5, __int64 a6)
{
__int64 result; // x0
void *v13; // x24
result = sub_1003068A4(a1, a2, a5);
if ( (result & 1) == 0 )
{
v13 = operator new(0x68u);
sub_100306C0C(v13, a2, a3, a4, a5, a6);
cocos2d::CCObject::autorelease((__int64)v13);
return sub_1002E74E0(*(_QWORD *)(a1 + 56));
}
return result;
}