//
// StarInfoPopup::create from 0x1007c1e20 to 0x1007c1f91 (369 bytes)
//
// 2 xrefs:
// > StarInfoPopup::createFromString @ 0x1007bebac
// > StarInfoPopup::createFromStringMoons @ 0x1007bee00
//
// 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
//
StarInfoPopup *__fastcall StarInfoPopup::create(
int a1,
int a2,
int a3,
int a4,
int a5,
int a6,
int a7,
int a8,
int a9,
bool a10)
{
char *v12; // rbx
v12 = (char *)operator new(0x278u);
cocos2d::CCLayerColor::CCLayerColor((__int64)v12);
*((_QWORD *)v12 + 72) = 0;
*((_DWORD *)v12 + 146) = 0;
v12[588] = 0;
*((_OWORD *)v12 + 34) = 0;
*(_OWORD *)(v12 + 553) = 0;
*((_OWORD *)v12 + 37) = 0;
*((_QWORD *)v12 + 76) = 0;
*((_DWORD *)v12 + 154) = -1;
*((_WORD *)v12 + 310) = 0;
*((_DWORD *)v12 + 156) = -1;
v12[628] = 0;
*(_QWORD *)v12 = off_100994D20;
*((_QWORD *)v12 + 40) = off_100995240;
*((_QWORD *)v12 + 41) = &off_1009952B0;
*((_QWORD *)v12 + 42) = off_1009952C8;
*((_QWORD *)v12 + 43) = off_1009952E8;
*((_QWORD *)v12 + 44) = off_100995308;
*((_QWORD *)v12 + 51) = off_100995330;
*((_QWORD *)v12 + 54) = off_1009953B0;
if ( StarInfoPopup::init((StarInfoPopup *)v12, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10) )
{
cocos2d::CCObject::autorelease((cocos2d::CCObject *)v12);
}
else
{
(*(void (__fastcall **)(char *))(*(_QWORD *)v12 + 16LL))(v12);
return nullptr;
}
return (StarInfoPopup *)v12;
}