//
// SetupTriggerPopup::addInfoLabel from 0x14060ea40 to 0x14060eb2d (237 bytes)
//
// 5 xrefs:
// > SetupMoveCommandPopup::init @ 0x14038eb89
// > SetupMoveCommandPopup::init @ 0x14038ed29
// > UIObjectSettingsPopup::init @ 0x140600260
// > UIObjectSettingsPopup::init @ 0x1406005be
// > ??> @ 0x14092fedc
//
// 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 11:35:15 +0000
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCObject *__fastcall SetupTriggerPopup::addInfoLabel(
__int64 a1,
const char *a2,
__int64 a3,
__int64 a4,
int a5,
signed int a6)
{
const char *v9; // rcx
struct cocos2d::CCObject *v10; // rdi
struct cocos2d::CCObject *PageContainer; // rax
struct cocos2d::CCObject *GroupContainer; // rax
v9 = a2;
if ( *((_QWORD *)a2 + 3) > 0xFu )
v9 = *(const char **)a2;
v10 = cocos2d::CCLabelBMFont::create(v9, "goldFont.fnt");
(*(void (__fastcall **)(struct cocos2d::CCObject *))(*(_QWORD *)v10 + 160LL))(v10);
(*(void (__fastcall **)(_QWORD, struct cocos2d::CCObject *, __int64))(**(_QWORD **)(a1 + 584) + 456LL))(
*(_QWORD *)(a1 + 584),
v10,
1);
(*(void (__fastcall **)(struct cocos2d::CCObject *, __int64))(*(_QWORD *)v10 + 184LL))(v10, a4);
PageContainer = SetupTriggerPopup::getPageContainer(a1, 0);
cocos2d::CCArray::addObject(PageContainer, v10);
if ( a6 > 0 )
{
GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a6);
cocos2d::CCArray::addObject(GroupContainer, v10);
}
sub_14003D310((__int64)a2);
return v10;
}