//
// GJBaseGameLayer::atlasValue from 0x99a870 to 0x99a8a0 (48 bytes)
//
// 1 xrefs:
// > ??> @ 0x66550
//
// 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:58:04 +0000
//
__int64 __fastcall GJBaseGameLayer::atlasValue(GJBaseGameLayer *this, int a2)
{
__int64 result; // x0
float v3; // s0
result = 0;
if ( a2 > 29 )
{
result = 9999;
v3 = (float)a2 * 1.1;
if ( v3 < 9999.0 )
return (unsigned int)(int)v3;
}
return result;
}