//
// TimeSpeedControl::create from 0x10052b618 to 0x10052b690 (120 bytes)
//
// 2 xrefs:
// > PauseLayer::onSideButtonPressed @ 0x1001bfdc8
// > EditorPauseLayer::customSetup @ 0x100444270
//
// 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 11:07:17 +0000
//
_OWORD *__fastcall TimeSpeedControl::create(__int64 a1)
{
_OWORD *v2; // x19
v2 = operator new(0x160u);
cocos2d::CCNode::CCNode((__int64)v2);
*(_QWORD *)v2 = &off_1009A2DD8;
v2[20] = 0u;
v2[21] = 0u;
if ( (unsigned int)TimeSpeedControl::init(v2, a1) )
{
cocos2d::CCObject::autorelease((__int64)v2);
}
else
{
(*(void (__fastcall **)(_OWORD *))(*(_QWORD *)v2 + 16LL))(v2);
return nullptr;
}
return v2;
}