{"type": "func", "start": 4297467936, "end": 4297468072, "name": "GameObject::isSpeedObject", "pseudocode": "// \n// GameObject::isSpeedObject from 0x100262820 to 0x1002628a8 (136 bytes)\n// \n// 4 xrefs:\n// > PlayLayer::addObject @ 0x1001192dc\n// > LevelEditorLayer::tryUpdateSpeedObject @ 0x10035e2dc\n// > EditorUI::onCreateObject @ 0x1003eb644\n// > EditorUI::moveObject @ 0x1003eefec\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall GameObject::isSpeedObject(GameObject *a1)\n{\n  int m_objectID; // w8\n  bool result; // w0\n  unsigned int v3; // w8\n  bool v4; // cc\n  int v5; // w8\n\n  m_objectID = a1->m_objectID;\n  result = 1;\n  if ( m_objectID <= 1916 )\n  {\n    if ( (unsigned int)(m_objectID - 200) >= 4 && m_objectID != 1334 )\n      return 0;\n  }\n  else if ( m_objectID <= 2899 )\n  {\n    v3 = m_objectID - 1917;\n    v4 = v3 > 0x12;\n    v5 = (1 << v3) & 0x60001;\n    if ( v4 || v5 == 0 )\n      return 0;\n  }\n  else\n  {\n    if ( m_objectID <= 3021 )\n    {\n      if ( m_objectID == 2900 || m_objectID == 2902 )\n        return result;\n      return 0;\n    }\n    if ( m_objectID != 3022 && m_objectID != 3027 )\n      return 0;\n  }\n  return result;\n}", "assembly": "; \n; GameObject::isSpeedObject from 0x100262820 to 0x1002628a8 (136 bytes)\n; \n; 4 xrefs:\n; > PlayLayer::addObject @ 0x1001192dc\n; > LevelEditorLayer::tryUpdateSpeedObject @ 0x10035e2dc\n; > EditorUI::onCreateObject @ 0x1003eb644\n; > EditorUI::moveObject @ 0x1003eefec\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nLDR             W8, [X0,#0x404]                                        ; +0x0, 0x100262820\nMOV             W0, #1                                                 ; +0x4, 0x100262824\nCMP             W8, #0x77C                                             ; +0x8, 0x100262828\nB.LE            loc_100262854                                          ; +0xc, 0x10026282c\nCMP             W8, #0xB53                                             ; +0x10, 0x100262830\nB.LE            loc_10026286C                                          ; +0x14, 0x100262834\nCMP             W8, #0xBCD                                             ; +0x18, 0x100262838\nB.GT            loc_100262890                                          ; +0x1c, 0x10026283c\nCMP             W8, #0xB54                                             ; +0x20, 0x100262840\nB.EQ            locret_100262850                                       ; +0x24, 0x100262844\nCMP             W8, #0xB56                                             ; +0x28, 0x100262848\nB.NE            loc_1002628A0                                          ; +0x2c, 0x10026284c\nRET                                                                    ; +0x30, 0x100262850\nSUB             W9, W8, #0xC8                                          ; +0x34, 0x100262854\nCMP             W9, #4                                                 ; +0x38, 0x100262858\nB.CC            locret_100262850                                       ; +0x3c, 0x10026285c\nCMP             W8, #0x536                                             ; +0x40, 0x100262860\nB.EQ            locret_100262850                                       ; +0x44, 0x100262864\nB               loc_1002628A0                                          ; +0x48, 0x100262868\nSUB             W8, W8, #0x77D                                         ; +0x4c, 0x10026286c\nCMP             W8, #0x12                                              ; +0x50, 0x100262870\nMOV             W9, #1                                                 ; +0x54, 0x100262874\nLSL             W8, W9, W8                                             ; +0x58, 0x100262878\nAND             W8, W8, #0x7FFFF                                       ; +0x5c, 0x10026287c\nAND             W8, W8, #0xFFFE0001                                    ; +0x60, 0x100262880\nCCMP            W8, #0, #4, LS                                         ; +0x64, 0x100262884\nB.NE            locret_100262850                                       ; +0x68, 0x100262888\nB               loc_1002628A0                                          ; +0x6c, 0x10026288c\nCMP             W8, #0xBCE                                             ; +0x70, 0x100262890\nB.EQ            locret_100262850                                       ; +0x74, 0x100262894\nCMP             W8, #0xBD3                                             ; +0x78, 0x100262898\nB.EQ            locret_100262850                                       ; +0x7c, 0x10026289c\nMOV             W0, #0                                                 ; +0x80, 0x1002628a0\nRET                                                                    ; +0x84, 0x1002628a4", "xrefs": ["PlayLayer::addObject @ 0x1001192dc", "LevelEditorLayer::tryUpdateSpeedObject @ 0x10035e2dc", "EditorUI::onCreateObject @ 0x1003eb644", "EditorUI::moveObject @ 0x1003eefec"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}