//
// GameObject::isSpeedObject from 0x44f864 to 0x44f8b6 (82 bytes)
//
// 4 xrefs:
// > PlayLayer::addObject @ 0x4009b8
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x463f1e
// > EditorUI::onCreateObject @ 0x4874d6
// > EditorUI::moveObject @ 0x70d9ba
//
// 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:48:36 +0000
//
bool __fastcall GameObject::isSpeedObject(GameObject *this)
{
int v1; // r3
int v2; // r2
v1 = *((_DWORD *)this + 223);
if ( v1 >= 1936 )
{
if ( v1 == 2902 )
return 1;
if ( v1 > 2902 )
{
if ( v1 == 3022 )
return 1;
v2 = 3027;
}
else
{
v2 = 2900;
}
return v1 == v2;
}
if ( v1 >= 1934 || v1 == 1334 )
return 1;
if ( v1 > 1334 )
{
v2 = 1917;
return v1 == v2;
}
return (unsigned int)(v1 - 200) <= 3;
}