//
// sub_1001A1F3C from 0x1001a1f3c to 0x1001a1f98 (92 bytes)
//
// 2 xrefs:
// > sub_10019668C @ 0x100196930
// > GJBaseGameLayer::activateEventTrigger @ 0x10029730c
//
// 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:00:01 +0000
//
__int64 *__fastcall sub_1001A1F3C(__int64 a1, _DWORD *a2, __int64 a3, int *a4, int *a5)
{
__int64 v6; // x20
int v7; // w9
int v8; // w10
__int64 *result; // x0
v6 = *(_QWORD *)(a1 + 8);
v7 = *a4;
v8 = *a5;
*(_DWORD *)v6 = *a2;
*(_DWORD *)(v6 + 4) = v7;
*(_DWORD *)(v6 + 8) = v8;
*(_BYTE *)(v6 + 12) = 0;
*(_QWORD *)(v6 + 24) = 0;
*(_QWORD *)(v6 + 32) = 0;
*(_QWORD *)(v6 + 16) = 0;
result = sub_100018908(
(__int64 *)(v6 + 16),
*(const void **)a3,
*(_QWORD *)(a3 + 8),
(__int64)(*(_QWORD *)(a3 + 8) - *(_QWORD *)a3) >> 2);
*(_QWORD *)(a1 + 8) = v6 + 40;
return result;
}