//
// TimeSpeedControl::create from 0x14066d6e0 to 0x14066d785 (165 bytes)
//
// 3 xrefs:
// > EditorPauseLayer::customSetup @ 0x1401821f0
// > PauseLayer::onSideButtonPressed @ 0x1404d9af8
// > ??> @ 0x1409321b0
//
// 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 11:35:53 +0000
//
// Hidden C++ exception states: #wind=1
cocos2d::CCNode *__fastcall TimeSpeedControl::create(__int64 a1)
{
cocos2d::CCNode *v2; // rdi
v2 = (cocos2d::CCNode *)operator new(0x160u);
cocos2d::CCNode::CCNode(v2);
*(_QWORD *)v2 = &TimeSpeedControl::`vftable';
*((_QWORD *)v2 + 40) = 0;
*((_QWORD *)v2 + 41) = 0;
*((_QWORD *)v2 + 42) = 0;
*((_QWORD *)v2 + 43) = 0;
if ( (unsigned __int8)TimeSpeedControl::init(v2, a1) )
{
cocos2d::CCObject::autorelease(v2);
return v2;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);
return nullptr;
}
}