// // SetupTriggerPopup::addInfoLabel from 0x100132170 to 0x100132248 (216 bytes) // // 4 xrefs: // > SetupMoveCommandPopup::init @ 0x100273ce8 // > SetupMoveCommandPopup::init @ 0x100273e24 // > UIObjectSettingsPopup::init @ 0x10040ae10 // > UIObjectSettingsPopup::init @ 0x10040b0a8 // // 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 // cocos2d::CCLabelBMFont *__fastcall SetupTriggerPopup::addInfoLabel( SetupTriggerPopup *a1, __int64 a2, __int64 a3, int a4, int a5, float a6) { const char *v10; // x8 cocos2d::CCLabelBMFont *v12; // x21 cocos2d::CCArray *PageContainer; // x0 cocos2d::CCArray *GroupContainer; // x0 v10 = (const char *)a2; if ( *(char *)(a2 + 23) < 0 ) v10 = *(const char **)a2; v12 = cocos2d::CCLabelBMFont::create_1(v10, "goldFont.fnt"); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, float))v12->setScale)(v12, a6); ((void (__fastcall *)(cocos2d::CCLayer *, cocos2d::CCLabelBMFont *, __int64))a1->m_mainLayer->addChild_0)( a1->m_mainLayer, v12, 1); ((void (__fastcall *)(cocos2d::CCLabelBMFont *, __int64))v12->setPosition)(v12, a3); PageContainer = SetupTriggerPopup::getPageContainer(a1, a4); sub_10024A2D0(PageContainer, v12); if ( a5 >= 1 ) { GroupContainer = SetupTriggerPopup::getGroupContainer(a1, a5); sub_10024A2D0(GroupContainer, v12); } return v12; }
GD Web Decomp Icon

GD Web Decomp

Raw Source