//
// GameStatsManager::orbInfoForLevel from 0x517e6e to 0x517eaa (60 bytes)
//
// 2 xrefs:
// > LevelCell::loadCustomLevelCell @ 0x4301ca
// > LevelInfoLayer::updateLabelValues @ 0x49bdd0
//
// 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
//
GameStatsManager *__fastcall GameStatsManager::orbInfoForLevel(
GameStatsManager *this,
GJGameLevel *a2,
GJGameLevel *a3,
const char *a4,
char a5)
{
unsigned int BaseCurrencyForLevel; // r0
int AwardedCurrencyForLevel; // r0
BaseCurrencyForLevel = GameStatsManager::getBaseCurrencyForLevel(a2, a3);
*((_DWORD *)this + 1) = BaseCurrencyForLevel + (int)vcvts_n_f32_s32(BaseCurrencyForLevel, 2u);
AwardedCurrencyForLevel = GameStatsManager::getAwardedCurrencyForLevel(a2, a3, a4);
*((_BYTE *)this + 8) = a5;
*(_DWORD *)this = AwardedCurrencyForLevel;
return this;
}