//
// ItemInfoPopup::onCredit from 0x140386380 to 0x1403863ae (46 bytes)
//
// 3 xrefs:
// > ItemInfoPopup::init @ 0x140386055
// > ??> @ 0x140922a84
// > ??> @ 0x140922a90
//
// 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 11:31:07 +0000
//
void __fastcall ItemInfoPopup::onCredit(__int64 a1)
{
__int64 v1; // rcx
__int64 v2; // rax
v1 = *(unsigned int *)(a1 + 672);
if ( (int)v1 > 0 )
{
v2 = ProfilePage::create(v1, 0);
(*(void (__fastcall **)(__int64))(*(_QWORD *)v2 + 1064LL))(v2);
}
}