//
// GameObject::getOrientedBox from 0x1002feb48 to 0x1002feba4 (92 bytes)
//
// 47 xrefs:
// > ??> @ 0x100928960
// > ??> @ 0x100929158
// > ??> @ 0x100929978
// > ??> @ 0x10094d938
// > ??> @ 0x10094e180
// > ??> @ 0x10094e988
// > ??> @ 0x10094f190
// > ??> @ 0x10094f998
// > ??> @ 0x1009501a0
// > ??> @ 0x1009509a8
// > ??> @ 0x1009511b0
// > ??> @ 0x1009519a8
// > ??> @ 0x1009521c8
// > ??> @ 0x100952a40
// > ??> @ 0x100953260
// > ??> @ 0x100953a80
// > ??> @ 0x1009542a0
// > ??> @ 0x100954ac0
// > ??> @ 0x1009552e0
// > ??> @ 0x100955b00
// > ??> @ 0x100956320
// > ??> @ 0x100956b40
// > ??> @ 0x100957360
// > ??> @ 0x100957b98
// > ??> @ 0x100958400
// > ??> @ 0x100958c38
// > ??> @ 0x100959470
// > ??> @ 0x100959ca8
// > ??> @ 0x10095a4e0
// > ??> @ 0x10095ad00
// > ??> @ 0x10095b520
// > ??> @ 0x10095bd40
// > ??> @ 0x10095c560
// > ??> @ 0x10095cd80
// > ??> @ 0x10095d5a0
// > ??> @ 0x10095ddc0
// > ??> @ 0x10095e5e0
// > ??> @ 0x10095ee00
// > ??> @ 0x10095f620
// > ??> @ 0x10095fe40
// > ??> @ 0x100960660
// > ??> @ 0x100960e80
// > ??> @ 0x1009616a0
// > ??> @ 0x100961ec0
// > ??> @ 0x1009626e0
// > ??> @ 0x100962f00
// > ??> @ 0x10096e300
//
// 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 11:03:04 +0000
//
__int64 __fastcall GameObject::getOrientedBox(__int64 a1)
{
__int64 result; // x0
result = *(_QWORD *)(a1 + 736);
if ( !result || *(_BYTE *)(a1 + 865) == 1 )
{
*(_BYTE *)(a1 + 744) = 1;
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1568LL))(a1);
(*(void (__fastcall **)(__int64))(*(_QWORD *)a1 + 1328LL))(a1);
return *(_QWORD *)(a1 + 736);
}
return result;
}