//
// EffectGameObject::canBeOrdered from 0x86e154 to 0x86e1cc (120 bytes)
//
// 40 xrefs:
// > ??> @ 0xc6010
// > ??> @ 0x1443a80
// > ??> @ 0x1444290
// > ??> @ 0x1444aa0
// > ??> @ 0x14452b0
// > ??> @ 0x1445ac0
// > ??> @ 0x14462d0
// > ??> @ 0x1446ae0
// > ??> @ 0x1448af0
// > ??> @ 0x1449300
// > ??> @ 0x144a360
// > ??> @ 0x144ab70
// > ??> @ 0x144b380
// > ??> @ 0x144bb90
// > ??> @ 0x144c3a0
// > ??> @ 0x144cbc0
// > ??> @ 0x144d3d0
// > ??> @ 0x144dbe0
// > ??> @ 0x144e3f0
// > ??> @ 0x144ec00
// > ??> @ 0x144f410
// > ??> @ 0x144fc20
// > ??> @ 0x1450430
// > ??> @ 0x1450c40
// > ??> @ 0x1451450
// > ??> @ 0x1451c60
// > ??> @ 0x1452470
// > ??> @ 0x1452c80
// > ??> @ 0x1453490
// > ??> @ 0x1453ca0
// > ??> @ 0x14544b0
// > ??> @ 0x1454cc0
// > ??> @ 0x14554d0
// > ??> @ 0x1455ce0
// > ??> @ 0x14564f0
// > ??> @ 0x1456d00
// > ??> @ 0x1457510
// > ??> @ 0x1457d20
// > ??> @ 0x1458530
// > ??> @ 0x1458d40
//
// This function is hookable on this platform (idp: arm, 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 12:55:44 +0000
//
__int64 __fastcall EffectGameObject::canBeOrdered(EffectGameObject *this)
{
__int64 result; // x0
int v3; // w1
if ( *((_BYTE *)this + 1252) )
return 1;
result = (*(unsigned __int8 (__fastcall **)(EffectGameObject *))(*(_QWORD *)this + 1680LL))(this);
if ( (_BYTE)result )
return 1;
v3 = *((_DWORD *)this + 257);
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;
}