//
// ItemInfoPopup::onCredit from 0x10035c480 to 0x10035c4a4 (36 bytes)
//
// 1 xrefs:
// > ItemInfoPopup::init @ 0x10035bda7
//
// This function is hookable on this platform (idp: pc, 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 12:28:54 +0000
//
void __fastcall ItemInfoPopup::onCredit(__int64 a1)
{
__int64 v1; // rdi
__int64 v2; // rax
v1 = *(unsigned int *)(a1 + 668);
if ( (int)v1 > 0 )
{
v2 = ProfilePage::create(v1, 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1312LL))(v2);
}
}