//
// StarInfoPopup::create from 0xa58150 to 0xa58350 (512 bytes)
//
// 5 xrefs:
// > StarInfoPopup::createFromStringMoons @ 0xa58a70
// > StarInfoPopup::createFromStringMoons @ 0xa58b18
// > StarInfoPopup::createFromString @ 0xa58ca0
// > StarInfoPopup::createFromString @ 0xa58d44
// > ??> @ 0xa5e50
//
// 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 13:00:08 +0000
//
__int64 __fastcall StarInfoPopup::create(
StarInfoPopup *this,
unsigned int a2,
unsigned int a3,
unsigned int a4,
unsigned int a5,
unsigned int a6,
int a7,
int a8,
GameToolbox *a9,
bool a10,
bool a11)
{
unsigned int v11; // w27
__int64 v19; // x19
__int64 v21; // x1
__int64 v22; // x0
GameToolbox *v23; // [xsp+0h] [xbp-20h]
GameToolbox *v24; // [xsp+8h] [xbp-18h]
v11 = (unsigned int)this;
v19 = operator new(0x298u);
cocos2d::CCLayerColor::CCLayerColor((cocos2d::CCLayerColor *)v19);
*(_QWORD *)(v19 + 552) = 0;
*(_QWORD *)v19 = &off_1419A40;
*(_QWORD *)(v19 + 320) = off_1419F90;
*(_QWORD *)(v19 + 328) = &off_141A000;
*(_QWORD *)(v19 + 336) = off_141A018;
*(_QWORD *)(v19 + 344) = off_141A038;
*(_QWORD *)(v19 + 352) = off_141A060;
*(_QWORD *)(v19 + 408) = &off_141A090;
*(_QWORD *)(v19 + 432) = &off_141A110;
*(_QWORD *)(v19 + 544) = off_141A130;
*(_QWORD *)(v19 + 560) = 0;
*(_QWORD *)(v19 + 568) = 0;
*(_BYTE *)(v19 + 576) = 0;
*(_QWORD *)(v19 + 584) = 0;
*(_DWORD *)(v19 + 592) = 0;
*(_BYTE *)(v19 + 596) = 0;
*(_BYTE *)(v19 + 597) = 0;
*(_BYTE *)(v19 + 598) = 0;
*(_BYTE *)(v19 + 599) = 0;
cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)(v19 + 600));
*(_QWORD *)(v19 + 608) = 0;
*(_QWORD *)(v19 + 616) = 0;
*(_DWORD *)(v19 + 632) = -1;
*(_DWORD *)(v19 + 640) = -1;
*(_QWORD *)(v19 + 624) = 0;
*(_BYTE *)(v19 + 636) = 0;
*(_BYTE *)(v19 + 637) = 0;
*(_BYTE *)(v19 + 644) = 0;
*(_BYTE *)(v19 + 656) = 0;
*(_DWORD *)(v19 + 648) = 0;
*(_DWORD *)(v19 + 652) = 0;
*(_QWORD *)v19 = &off_148DAB0;
*(_QWORD *)(v19 + 320) = off_148E000;
*(_QWORD *)(v19 + 328) = &off_148E070;
*(_QWORD *)(v19 + 336) = off_148E088;
*(_QWORD *)(v19 + 344) = off_148E0A8;
*(_QWORD *)(v19 + 352) = off_148E0D0;
*(_QWORD *)(v19 + 408) = &off_148E100;
*(_QWORD *)(v19 + 544) = off_148E1A0;
*(_QWORD *)(v19 + 432) = &off_148E180;
LODWORD(v24) = (_DWORD)a9;
LODWORD(v23) = a8;
if ( (unsigned __int8)StarInfoPopup::init((cocos2d::CCNode **)v19, v11, a2, a3, a4, a5, a6, a7, v23, v24, a10) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v19);
}
else
{
v21 = *(_QWORD *)v19;
v22 = v19;
v19 = 0;
(*(void (__fastcall **)(__int64))(v21 + 16))(v22);
}
return v19;
}