//
// sub_10029C750 from 0x10029c750 to 0x10029c86b (283 bytes)
//
// 4 xrefs:
// > LevelBrowserLayer::init @ 0x1004812a0
// > FRequestProfilePage::init @ 0x10086f81d
// > MessageThreadsPage::init @ 0x10092937e
// > sub_10097D570 @ 0x10097db34
//
// This function is hookable on this platform (idp: pc, 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 12:27:53 +0000
//
_OWORD *__fastcall sub_10029C750(int a1, int a2, _QWORD *a3, int a4, __int64 a5, __int64 a6, float a7)
{
_OWORD *v9; // rbx
float v10; // xmm0_4
int v11; // r9d
_QWORD v13[3]; // [rsp+10h] [rbp-60h] BYREF
__int64 v14; // [rsp+28h] [rbp-48h]
_QWORD *v15; // [rsp+30h] [rbp-40h]
__int64 v16; // [rsp+38h] [rbp-38h]
float v17; // [rsp+44h] [rbp-2Ch]
v14 = a5;
v17 = a7;
v15 = a3;
v9 = operator new(0x198u);
__bzero(v9, 408);
cocos2d::CCNode::CCNode((__int64)v9);
v16 = a6;
*(_QWORD *)v9 = off_100B0B458;
v9[20] = 0;
*((_QWORD *)v9 + 42) = 0;
sub_1002782A0((_QWORD *)v9 + 43);
*((_DWORD *)v9 + 88) = 1065353216;
*(_OWORD *)((char *)v9 + 360) = 0;
*((_BYTE *)v9 + 376) = 1;
v9[24] = 0;
*((_QWORD *)v9 + 50) = 0;
sub_1002782D0(v13, v15);
v13[1] = v14;
v13[2] = v16;
v10 = v17;
if ( (unsigned __int8)sub_10029C8A0((_DWORD)v9, a1, a2, (unsigned int)v13, a4, v11, v14, v16) )
{
cocos2d::CCObject::autorelease(v9);
}
else
{
(*(void (__fastcall **)(_OWORD *, float))(*(_QWORD *)v9 + 16LL))(v9, v10);
return nullptr;
}
return v9;
}