//
// LevelSettingsObject::shouldUseYSection from 0x465e58 to 0x465e66 (14 bytes)
//
// 2 xrefs:
// > GJBaseGameLayer::loadLevelSettings @ 0x596386
// > GJBaseGameLayer::updateMaxGameplayY @ 0x5963e6
//
// 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:48:56 +0000
//
int __fastcall LevelSettingsObject::shouldUseYSection(LevelSettingsObject *this)
{
int v1; // r3
v1 = *((unsigned __int8 *)this + 281);
if ( !*((_BYTE *)this + 281) )
return *((unsigned __int8 *)this + 373);
return v1;
}