//
// StarInfoPopup::createFromString from 0x4c9104 to 0x4c91ca (198 bytes)
//
// 1 xrefs:
// > ProfilePage::onStatInfo @ 0x4c9320
//
// 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::createFromString(_DWORD *a1)
{
const char **v1; // r4
int v2; // r10
int v3; // r9
int v4; // r8
int v5; // r7
int v6; // r11
int v7; // r0
StarInfoPopup *v8; // r0
StarInfoPopup *v9; // r4
int v11; // [sp+18h] [bp-1Ch]
int v12; // [sp+1Ch] [bp-18h]
const char **v13; // [sp+20h] [bp-14h] BYREF
int v14; // [sp+24h] [bp-10h]
int v15; // [sp+28h] [bp-Ch]
v13 = nullptr;
v14 = 0;
v15 = 0;
sub_4C8F88(a1, (int)&v13, 0);
v1 = v13;
if ( (unsigned int)(v14 - (_DWORD)v13) <= 0x1F )
{
v8 = StarInfoPopup::create(0, 0, 0, 0, 0, 0, 0, 0, 0, 0);
}
else
{
v2 = atoi(*v13);
v3 = atoi(*(const char **)&byte_4[(_DWORD)v1]);
v4 = atoi(*(const char **)&byte_8[(_DWORD)v1]);
v5 = atoi(*(const char **)&byte_9[(_DWORD)v1 + 3]);
v12 = atoi(*(const char **)((char *)&word_10 + (_DWORD)v1));
v11 = atoi(*(const char **)((char *)&dword_14 + (_DWORD)v1));
v6 = atoi(*(const char **)((char *)&dword_18 + (_DWORD)v1));
v7 = atoi(*(const char **)((char *)&dword_1C + (_DWORD)v1));
v8 = StarInfoPopup::create(v2, v3, v4, v5, v12, v11, v6, v7, 0, 0);
}
v9 = v8;
std::vector::~vector((void **)&v13);
return v9;
}