//
// EffectGameObject::canBeOrdered from 0x14064de90 to 0x14064def1 (97 bytes)
//
// 39 xrefs:
// > ??> @ 0x140820240
// > ??> @ 0x140820998
// > ??> @ 0x140821050
// > ??> @ 0x140821e70
// > ??> @ 0x140822550
// > ??> @ 0x140822c08
// > ??> @ 0x140823518
// > ??> @ 0x140823c60
// > ??> @ 0x140824318
// > ??> @ 0x140824b10
// > ??> @ 0x1408251c8
// > ??> @ 0x140825880
// > ??> @ 0x1408260f0
// > ??> @ 0x1408268e8
// > ??> @ 0x140827090
// > ??> @ 0x1408277c0
// > ??> @ 0x140827e78
// > ??> @ 0x1408285d0
// > ??> @ 0x140828e18
// > ??> @ 0x140829c50
// > ??> @ 0x14082a3d0
// > ??> @ 0x14082aa88
// > ??> @ 0x14082b140
// > ??> @ 0x14082bb50
// > ??> @ 0x14082c280
// > ??> @ 0x14082c938
// > ??> @ 0x14082cff0
// > ??> @ 0x14082d6a8
// > ??> @ 0x14082de78
// > ??> @ 0x14082e620
// > ??> @ 0x14082ecd8
// > ??> @ 0x14082f390
// > ??> @ 0x14082fa48
// > ??> @ 0x140830100
// > ??> @ 0x1408307b8
// > ??> @ 0x140830e70
// > ??> @ 0x140831690
// > ??> @ 0x140831e10
// > ??> @ 0x1409314c0
//
// This function is hookable on this platform (idp: pc, 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 11:35:41 +0000
//
char __fastcall EffectGameObject::canBeOrdered(__int64 a1)
{
char result; // al
int v3; // ecx
int v4; // ecx
result = *(_BYTE *)(a1 + 1260);
if ( !result )
{
result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 1528LL))(a1);
if ( !result )
{
v3 = *(_DWORD *)(a1 + 1036);
if ( v3 <= 203 )
{
if ( v3 != 203 )
{
v4 = v3 - 200;
if ( v4 )
{
if ( (unsigned int)(v4 - 1) >= 2 )
return result;
}
}
return 1;
}
if ( v3 == 1334 || v3 == 2902 )
return 1;
}
}
return result;
}