//
// sub_180028A80 from 0x180028a80 to 0x180028b0a (138 bytes)
//
// 2 xrefs:
// > sub_180028B10 @ 0x180028b7c
// > ??> @ 0x1801f76f8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
__int64 __fastcall sub_180028A80(__int64 a1, int a2, _DWORD *a3, _DWORD *a4)
{
__int64 result; // rax
if ( !byte_1801B3BA0 )
{
qword_1801B44E8 = (unsigned __int64)&unk_1801B3BBF & 0xFFFFFFFFFFFFFFF0uLL;
if ( !(unsigned int)sub_180028BE0(1) && !(unsigned int)sub_18002D350() )
sub_180032180(32);
byte_1801B3BA0 = 1;
}
if ( a3 )
*a3 = 18640 * ((a2 + 1) / 2);
result = 0;
if ( a4 )
*a4 = 1152;
return result;
}