//
// ProfilePage::onStatInfo from 0x4c92d0 to 0x4c93de (270 bytes)
//
// 0 xrefs:
//
// 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
//
void ProfilePage::onStatInfo(ProfilePage *a1, cocos2d::CCObject *a2)
{
int v4; // r7
void *v5; // r0
int v6; // r7
int v7; // r7
int v8; // r1
int v9; // r2
void *v10; // r5
_DWORD v11[3]; // [sp+0h] [bp-Ch] BYREF
v11[0] = a1;
v11[1] = a2;
if ( a2->getTag(a2) == 1 )
{
if ( a1->m_score )
{
sub_775C20(v11);
v4 = *(_DWORD *)(v11[0] - 12);
sub_774008(v11);
if ( v4 )
{
sub_775C20(v11);
v5 = StarInfoPopup::createFromString(v11);
LABEL_13:
v10 = v5;
sub_774008(v11);
(*(void (__fastcall **)(void *))(*(_DWORD *)v10 + 644))(v10);
}
}
}
else if ( a2->getTag(a2) == 2 )
{
if ( a1->m_score )
{
sub_775C20(v11);
v6 = *(_DWORD *)(v11[0] - 12);
sub_774008(v11);
if ( v6 )
{
sub_775C20(v11);
v5 = StarInfoPopup::createFromStringMoons(v11);
goto LABEL_13;
}
}
}
else if ( a2->getTag(a2) == 3 )
{
if ( a1->m_score )
{
sub_775C20(v11);
v7 = *(_DWORD *)(v11[0] - 12);
sub_774008(v11);
if ( v7 )
{
sub_775C20(v11);
v5 = DemonInfoPopup::createFromString(v11, v8, v9);
goto LABEL_13;
}
}
}
}