//
// GJStoreItem::getCurrencyKey from 0x10002c2e0 to 0x10002c308 (40 bytes)
//
// 3 xrefs:
// > GJPathPage::onUnlock @ 0x1002ebab4
// > GJShopLayer::onSelectItem @ 0x100310265
// > GJShopLayer::didPurchaseItem @ 0x100310d2c
//
// 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:19:27 +0000
//
__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;
}