//
// GJStoreItem::getCurrencyKey from 0x100066cb0 to 0x100066cd8 (40 bytes)
//
// 3 xrefs:
// > GJPathPage::onUnlock @ 0x100300dd4
// > GJShopLayer::onSelectItem @ 0x100324c05
// > GJShopLayer::didPurchaseItem @ 0x10032561c
//
// 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
//
__int64 __fastcall GJStoreItem::getCurrencyKey(__int64 a1, __int64 a2)
{
__int64 result; // rax
__int16 v3; // dx
result = a1;
v3 = 13361;
if ( *(_DWORD *)(a2 + 364) == 4 )
v3 = 14642;
*(_BYTE *)a1 = 4;
*(_WORD *)(a1 + 1) = v3;
*(_BYTE *)(a1 + 3) = 0;
return result;
}