//
// sub_100019104 from 0x100019104 to 0x100019184 (128 bytes)
//
// 2 xrefs:
// > GJEffectManager::registerCollisionTrigger @ 0x1000104e8
// > sub_100018F6C @ 0x100019074
//
// 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_100019104(__int64 a1, int a2, int a3, int a4, char a5, int a6, char **a7, int a8, int a9)
{
int v12; // w8
int v13; // w9
*(_BYTE *)a1 = 0;
*(_QWORD *)(a1 + 4) = 0;
*(_QWORD *)(a1 + 32) = 0;
*(_QWORD *)(a1 + 40) = 0;
*(_QWORD *)(a1 + 48) = 0;
*(_DWORD *)(a1 + 24) = a8;
*(_DWORD *)(a1 + 28) = a9;
*(_BYTE *)(a1 + 20) = a5;
*(_DWORD *)(a1 + 12) = a2;
*(_DWORD *)(a1 + 16) = a6;
if ( (char **)(a1 + 32) != a7 )
sub_100017888((__int64 *)(a1 + 32), *a7, a7[1], (a7[1] - *a7) >> 2);
if ( a3 <= a4 )
v12 = a4;
else
v12 = a3;
if ( a3 >= a4 )
v13 = a4;
else
v13 = a3;
*(_DWORD *)(a1 + 4) = v12;
*(_DWORD *)(a1 + 8) = v13;
return a1;
}