//
// GJGameLevel::getCoinKey from 0x1000cf034 to 0x1000cf0ac (120 bytes)
//
// 4 xrefs:
// > sub_1000BD74C @ 0x1000bda6c
// > sub_1000BD74C @ 0x1000bdaa0
// > GJGameLevel::getCoinKey_1 @ 0x1000be300
// > LevelCell::loadCustomLevelCell @ 0x100134fc0
//
// 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 10:58:53 +0000
//
__int64 __fastcall GJGameLevel::getCoinKey(__int64 a1, __int64 a2, int a3)
{
__int64 v3; // x0
if ( a3 < 1 )
{
if ( *(_BYTE *)(a1 + 649) == 1 )
v3 = sub_1003065B0("%i_%i_g");
else
v3 = sub_1003065B0("%i_%i");
}
else
{
v3 = sub_1003065B0("%i_%i_%i");
}
return cocos2d::CCString::getCString(v3);
}