//
// TimeSpeedControl::create from 0xd03ec4 to 0xd03f68 (164 bytes)
//
// 3 xrefs:
// > PauseLayer::onSideButtonPressed @ 0x7d4f20
// > EditorPauseLayer::customSetup @ 0x8b5fd0
// > ??> @ 0x91ba0
//
// 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 13:06:55 +0000
//
cocos2d::CCNode *__fastcall TimeSpeedControl::create(TimeSpeedControl *this, GJBaseGameLayer *a2)
{
cocos2d::CCNode *v3; // x19
v3 = (cocos2d::CCNode *)operator new(0x160u);
cocos2d::CCNode::CCNode(v3);
*((_QWORD *)v3 + 40) = 0;
*((_QWORD *)v3 + 41) = 0;
*(_QWORD *)v3 = &off_1508480;
*((_QWORD *)v3 + 42) = 0;
*((_QWORD *)v3 + 43) = 0;
if ( (unsigned __int8)TimeSpeedControl::init((Slider **)v3, this) )
{
cocos2d::CCObject::autorelease(v3);
return v3;
}
else
{
(*(void (__fastcall **)(cocos2d::CCNode *))(*(_QWORD *)v3 + 16LL))(v3);
return nullptr;
}
}