//
// GJBaseGameLayer::atlasValue from 0x58c94c to 0x58c982 (54 bytes)
//
// 0 xrefs:
//
// 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:53:03 +0000
//
int __fastcall GJBaseGameLayer::atlasValue(GJBaseGameLayer *this, int a2)
{
float v2; // s15
if ( a2 <= 29 )
return 0;
v2 = (float)a2 * 1.1;
if ( v2 >= 9999.0 )
return 9999;
else
return (int)v2;
}