//
// sub_100016D2C from 0x100016d2c to 0x100016d74 (72 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::getItemValue @ 0x100297a6c
// > GJBaseGameLayer::updateTimerLabels @ 0x100298500
//
// 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:57:19 +0000
//
double __fastcall sub_100016D2C(__int64 a1, int a2)
{
int v2; // w8
__int64 v3; // x0
int v5; // [xsp+Ch] [xbp-4h] BYREF
v2 = a2 & ~(a2 >> 31);
if ( v2 >= 9999 )
v2 = 9999;
v5 = v2;
v3 = sub_100019268(a1 + 920, &v5);
if ( v3 )
return *(double *)(v3 + 32);
else
return 0.0;
}