//
// GJBaseGameLayer::updateTimeMod from 0x99f308 to 0x99f380 (120 bytes)
//
// 7 xrefs:
// > EffectGameObject::triggerObject @ 0x8987bc
// > GJBaseGameLayer::setupLevelStart @ 0x9e812c
// > GJBaseGameLayer::setupLevelStart @ 0x9e8288
// > GJBaseGameLayer::setupLevelStart @ 0x9e82a0
// > GJBaseGameLayer::setupLevelStart @ 0x9e82b8
// > GJBaseGameLayer::update @ 0x9ede48
// > ??> @ 0x63838
//
// 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 12:58:06 +0000
//
cocos2d::CCMotionStreak *__fastcall GJBaseGameLayer::updateTimeMod(
cocos2d::CCMotionStreak *this,
float a2,
char a3,
unsigned __int8 a4)
{
__int64 v5; // x19
PlayerObject *v6; // x0
if ( a3 )
{
v5 = (__int64)this;
v6 = *((PlayerObject **)this + 407);
*(_BYTE *)(v5 + 1164) = 0;
*(_DWORD *)(v5 + 1160) = 0;
PlayerObject::updateTimeMod(v6, a2, a4);
this = (cocos2d::CCMotionStreak *)*(unsigned __int8 *)(v5 + 1010);
if ( *(_BYTE *)(v5 + 1010) )
return PlayerObject::updateTimeMod(*(PlayerObject **)(v5 + 3264), a2, a4);
}
else
{
*((_BYTE *)this + 1164) = a4;
*((float *)this + 290) = a2;
}
return this;
}