//
// EffectGameObject::canBeOrdered from 0x4e6102 to 0x4e6138 (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:51:05 +0000
//
int __fastcall EffectGameObject::canBeOrdered(EffectGameObject *this)
{
int result; // r0
int v3; // r3
if ( *((_BYTE *)this + 1088) )
return 1;
result = (*(int (__fastcall **)(EffectGameObject *))(*(_DWORD *)this + 840))(this);
if ( result )
return 1;
v3 = *((_DWORD *)this + 223);
if ( v3 == 1334 )
return 1;
if ( v3 > 1334 )
{
if ( v3 != 2902 )
return result;
return 1;
}
if ( (unsigned int)(v3 - 200) <= 3 )
return 1;
return result;
}