//
// GJStoreItem::getCurrencyKey from 0x516f28 to 0x516f52 (42 bytes)
//
// 4 xrefs:
// > GameStatsManager::purchaseItem @ 0x523212
// > GJShopLayer::didPurchaseItem @ 0x611828
// > GJShopLayer::onSelectItem @ 0x6145aa
// > GJPathPage::onUnlock @ 0x6d47ae
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:43 +0000
//
GJStoreItem *__fastcall GJStoreItem::getCurrencyKey(GJStoreItem *this, int a2)
{
const char *v3; // r1
if ( *(_DWORD *)(a2 + 312) == 4 )
v3 = "29";
else
v3 = "14";
*(_DWORD *)this = 0;
*((_DWORD *)this + 1) = 0;
*((_DWORD *)this + 2) = 0;
std::string::__init((int *)this, v3, 2u);
return this;
}