//
// ItemInfoPopup::onCredit from 0x100309374 to 0x1003093a4 (48 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x100308f74
//
// 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 __fastcall ItemInfoPopup::onCredit(ItemInfoPopup *a1, cocos2d::CCObject *a2)
{
int m_accountID; // w0
ProfilePage *v3; // x0
m_accountID = a1->m_accountID;
if ( m_accountID >= 1 )
{
v3 = ProfilePage::create(m_accountID, 0);
((void (__fastcall *)(ProfilePage *))v3->show)(v3);
}
}