//
// GridSettingsLayer::getValue from 0x78e338 to 0x78e390 (88 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:59:39 +0000
//
float __fastcall GridSettingsLayer::getValue(GridSettingsLayer *this, int a2, int a3, int a4)
{
int v4; // r3
float v5; // s15
int v6; // r3
if ( a2 == -2 )
{
v6 = *((_DWORD *)this + 178);
if ( v6 )
{
v5 = 30.0;
if ( *(float *)(v6 + 476) > 0.0 )
return *(float *)(v6 + 476);
}
else
{
return 30.0;
}
}
else
{
if ( a2 != -1 )
return SetupTriggerPopup::getValue((cocos2d::CCDictionary **)this, a2, a2 + 1, a4);
v4 = *((_DWORD *)this + 178);
if ( v4 )
{
v5 = 0.0;
if ( *(_BYTE *)(v4 + 480) )
return 1.0;
}
else
{
return 0.0;
}
}
return v5;
}