//
// GJStoreItem::getCurrencyKey from 0x8cd9bc to 0x8cda00 (68 bytes)
//
// 5 xrefs:
// > GameStatsManager::purchaseItem @ 0x8dd990
// > GJShopLayer::didPurchaseItem @ 0xa7d374
// > GJShopLayer::onSelectItem @ 0xa816b0
// > GJPathPage::onUnlock @ 0xba8704
// > ??> @ 0xe6398
//
// This function is hookable on this platform (idp: arm, 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:56:37 +0000
//
__int64 __usercall GJStoreItem::getCurrencyKey@(GJStoreItem *this@, __int64 a2@)
{
__int16 *v2; // x0
__int16 v3; // w1
if ( *((_DWORD *)this + 91) == 4 )
v2 = (__int16 *)"29";
else
v2 = &word_1217DE8;
*(_QWORD *)a2 = 0;
v3 = *v2;
*(_QWORD *)(a2 + 8) = 0;
*(_QWORD *)(a2 + 16) = 0;
*(_BYTE *)a2 = 4;
*(_WORD *)(a2 + 1) = v3;
return a2;
}