//
// sub_1000166E0 from 0x1000166e0 to 0x100016740 (96 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::activateTimerTrigger @ 0x100298490
//
// 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 10:57:18 +0000
//
__int64 __fastcall sub_1000166E0(__int64 a1, int a2)
{
__int64 result; // x0
int v4; // [xsp+0h] [xbp-20h] BYREF
char v5; // [xsp+7h] [xbp-19h] BYREF
int *v6; // [xsp+8h] [xbp-18h] BYREF
v4 = a2;
result = sub_100019268(a1 + 920, &v4);
if ( result )
{
v6 = &v4;
result = sub_10001F688(a1 + 920, &v4, &unk_10075BEDF, &v6, &v5);
*(_BYTE *)(result + 40) = 0;
}
return result;
}