//
// GJBaseGameLayer::updateTimeMod from 0x100102290 to 0x100102307 (119 bytes)
//
// 1 xrefs:
// > EffectGameObject::triggerObject @ 0x10019a22a
//
// This function is hookable on this platform (idp: pc, 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 12:21:21 +0000
//
__int64 __fastcall GJBaseGameLayer::updateTimeMod(__int64 a1, int a2, unsigned __int8 a3, float a4)
{
unsigned int v4; // r14d
__int64 result; // rax
if ( a2 )
{
*(_DWORD *)(a1 + 1160) = 0;
*(_BYTE *)(a1 + 1164) = 0;
v4 = a3;
result = PlayerObject::updateTimeMod(*(_QWORD *)(a1 + 3256), a3);
if ( *(_BYTE *)(a1 + 1010) == 1 )
return PlayerObject::updateTimeMod(*(_QWORD *)(a1 + 3264), v4);
}
else
{
*(float *)(a1 + 1160) = a4;
*(_BYTE *)(a1 + 1164) = a3;
}
return result;
}