//
// GJBaseGameLayer::applyTimeWarp from 0x10014f3d0 to 0x10014f41e (78 bytes)
//
// 3 xrefs:
// > ??> @ 0x1008b73d8
// > ??> @ 0x1008c0728
// > ??> @ 0x1008c1958
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void __fastcall GJBaseGameLayer::applyTimeWarp(GJBaseGameLayer *a1, float a2)
{
cocos2d::CCDirector *v2; // rax
if ( a1->m_gameState.m_timeWarpRelated != a2 && a1->m_started )
{
a1->m_gameState.m_timeWarpRelated = a2;
v2 = cocos2d::CCDirector::sharedDirector();
*(float *)(((__int64 (__fastcall *)(cocos2d::CCDirector *))v2->getScheduler)(v2) + 56) = a1->m_gameState.m_timeWarpRelated;
}
}