//
// sub_1001B01B4 from 0x1001b01b4 to 0x1001b028c (216 bytes)
//
// 4 xrefs:
// > SetupMoveCommandPopup::init @ 0x100311b4c
// > SetupMoveCommandPopup::init @ 0x100311c88
// > sub_10048B52C @ 0x10048b7e4
// > sub_10048B52C @ 0x10048ba7c
//
// 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:00:07 +0000
//
__int64 __fastcall sub_1001B01B4(__int64 a1, __int64 *a2, __int64 a3, __int64 a4, __int64 a5, float a6)
{
__int64 *v10; // x8
__int64 v12; // x21
__int64 PageContainer; // x0
__int64 GroupContainer; // x0
v10 = a2;
if ( *((char *)a2 + 23) < 0 )
v10 = (__int64 *)*a2;
v12 = cocos2d::CCLabelBMFont::create_1(v10, "goldFont.fnt");
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v12 + 160LL))(v12, a6);
(*(void (__fastcall **)(_QWORD, __int64, __int64))(**(_QWORD **)(a1 + 584) + 464LL))(*(_QWORD *)(a1 + 584), v12, 1);
(*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v12 + 184LL))(v12, a3);
PageContainer = SetupTriggerPopup::getPageContainer(a1, a4);
sub_1002E74E0(PageContainer, v12);
if ( (int)a5 >= 1 )
{
GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a5);
sub_1002E74E0(GroupContainer, v12);
}
return v12;
}