//
// GJBaseGameLayer::updateTimeMod from 0x58f962 to 0x58f9a2 (64 bytes)
//
// 3 xrefs:
// > EffectGameObject::triggerObject @ 0x4f5466
// > GJBaseGameLayer::setupLevelStart @ 0x5ba026
// > GJBaseGameLayer::update @ 0x5bdcb4
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:53:04 +0000
//
cocos2d::CCMotionStreak *__fastcall GJBaseGameLayer::updateTimeMod(
cocos2d::CCMotionStreak *this,
float a2,
int a3,
int a4)
{
cocos2d::CCMotionStreak *v4; // r4
v4 = this;
if ( a3 )
{
*((_DWORD *)this + 241) = 0;
*((_BYTE *)this + 968) = 0;
this = PlayerObject::updateTimeMod(*((PlayerObject **)this + 519), a2, a4);
if ( *((_BYTE *)v4 + 866) )
return PlayerObject::updateTimeMod(*((PlayerObject **)v4 + 520), a2, a4);
}
else
{
*((float *)this + 241) = a2;
*((_BYTE *)this + 968) = a4;
}
return this;
}