//
// GameObject::isSpeedObject from 0x772a18 to 0x772a90 (120 bytes)
//
// 7 xrefs:
// > PlayLayer::addObject @ 0x6f431c
// > PlayLayer::addObject @ 0x6f471c
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x7900f0
// > LevelEditorLayer::tryUpdateSpeedObject @ 0x79014c
// > EditorUI::onCreateObject @ 0x7ca2a8
// > EditorUI::moveObject @ 0xc00958
// > ??> @ 0xce908
//
// 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 12:53:13 +0000
//
bool __fastcall GameObject::isSpeedObject(GameObject *this)
{
int v1; // w0
v1 = *((_DWORD *)this + 257);
if ( v1 <= 1935 )
{
if ( v1 < 1934 && v1 != 1334 )
{
if ( v1 <= 1334 )
return (unsigned int)(v1 - 200) <= 3;
if ( v1 != 1917 )
return 0;
}
return 1;
}
if ( v1 == 2902 )
return 1;
if ( v1 > 2902 )
return v1 == 3022 || v1 == 3027;
return v1 == 2900;
}