//
// SetupTriggerPopup::addInfoLabel from 0x140477230 to 0x140477309 (217 bytes)
//
// 5 xrefs:
// > SetupMoveCommandPopup::init @ 0x140280fca
// > SetupMoveCommandPopup::init @ 0x140281171
// > UIObjectSettingsPopup::init @ 0x140469e5e
// > UIObjectSettingsPopup::init @ 0x14046a1ad
// > ??> @ 0x1406db708
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// Hidden C++ exception states: #wind=1
struct cocos2d::CCLabelBMFont *__fastcall SetupTriggerPopup::addInfoLabel(
SetupTriggerPopup *a1,
const char *a2,
__int64 a3,
const cocos2d::CCPoint *a4,
int a5,
int a6)
{
const char *v9; // rcx
struct cocos2d::CCLabelBMFont *v10; // rdi
cocos2d::CCArray *GroupContainer; // rax
v9 = a2;
if ( *((_QWORD *)a2 + 3) > 0xFu )
v9 = *(const char **)a2;
v10 = cocos2d::CCLabelBMFont::create(v9, "goldFont.fnt");
((void (__fastcall *)(struct cocos2d::CCLabelBMFont *))v10->setScale_0)(v10);
a1->m_mainLayer->addChild_0(a1->m_mainLayer, v10, 1);
v10->setPosition_0(v10, a4);
SetupTriggerPopup::addObjectToPage(a1, v10, 0);
if ( a6 > 0 )
{
GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a6);
cocos2d::CCArray::addObject(GroupContainer, v10);
}
sub_14003A830((__int64)a2);
return v10;
}