{"type": "func", "start": 4301043344, "end": 4301043462, "name": "GameObject::isSpeedObject", "pseudocode": "// \n// GameObject::isSpeedObject from 0x1005cb690 to 0x1005cb706 (118 bytes)\n// \n// 4 xrefs:\n// > EditorUI::onCreateObject @ 0x1000351d9\n// > EditorUI::moveObject @ 0x10003e964\n// > PlayLayer::addObject @ 0x1000b2a19\n// > LevelEditorLayer::tryUpdateSpeedObject @ 0x1000ea26d\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; // ecx\n  bool result; // al\n  unsigned int v3; // ecx\n  int v4; // edx\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    if ( v3 > 0x12 )\n      return 0;\n    v4 = 393217;\n    if ( !_bittest(&v4, v3) )\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 0x1005cb690 to 0x1005cb706 (118 bytes)\n; \n; 4 xrefs:\n; > EditorUI::onCreateObject @ 0x1000351d9\n; > EditorUI::moveObject @ 0x10003e964\n; > PlayLayer::addObject @ 0x1000b2a19\n; > LevelEditorLayer::tryUpdateSpeedObject @ 0x1000ea26d\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\npush    rbp                                                            ; +0x0, 0x1005cb690\nmov     rbp, rsp                                                       ; +0x1, 0x1005cb691\nmov     ecx, [rdi+404h]                                                ; +0x4, 0x1005cb694\nmov     al, 1                                                          ; +0xa, 0x1005cb69a\ncmp     ecx, 77Ch                                                      ; +0xc, 0x1005cb69c\njle     short loc_1005CB6C6                                            ; +0x12, 0x1005cb6a2\ncmp     ecx, 0B53h                                                     ; +0x14, 0x1005cb6a4\njle     short loc_1005CB6DD                                            ; +0x1a, 0x1005cb6aa\ncmp     ecx, 0BCDh                                                     ; +0x1c, 0x1005cb6ac\njg      short loc_1005CB6F4                                            ; +0x22, 0x1005cb6b2\ncmp     ecx, 0B54h                                                     ; +0x24, 0x1005cb6b4\njz      short loc_1005CB6C4                                            ; +0x2a, 0x1005cb6ba\ncmp     ecx, 0B56h                                                     ; +0x2c, 0x1005cb6bc\njnz     short loc_1005CB6D9                                            ; +0x32, 0x1005cb6c2\npop     rbp                                                            ; +0x34, 0x1005cb6c4\nretn                                                                   ; +0x35, 0x1005cb6c5\nlea     edx, [rcx-0C8h]                                                ; +0x36, 0x1005cb6c6\ncmp     edx, 4                                                         ; +0x3c, 0x1005cb6cc\njb      short loc_1005CB6C4                                            ; +0x3f, 0x1005cb6cf\ncmp     ecx, 536h                                                      ; +0x41, 0x1005cb6d1\njz      short loc_1005CB6C4                                            ; +0x47, 0x1005cb6d7\nxor     eax, eax                                                       ; +0x49, 0x1005cb6d9\npop     rbp                                                            ; +0x4b, 0x1005cb6db\nretn                                                                   ; +0x4c, 0x1005cb6dc\nadd     ecx, 0FFFFF883h                                                ; +0x4d, 0x1005cb6dd\ncmp     ecx, 12h                                                       ; +0x53, 0x1005cb6e3\nja      short loc_1005CB6D9                                            ; +0x56, 0x1005cb6e6\nmov     edx, 60001h                                                    ; +0x58, 0x1005cb6e8\nbt      edx, ecx                                                       ; +0x5d, 0x1005cb6ed\njb      short loc_1005CB6C4                                            ; +0x60, 0x1005cb6f0\njmp     short loc_1005CB6D9                                            ; +0x62, 0x1005cb6f2\ncmp     ecx, 0BCEh                                                     ; +0x64, 0x1005cb6f4\njz      short loc_1005CB6C4                                            ; +0x6a, 0x1005cb6fa\ncmp     ecx, 0BD3h                                                     ; +0x6c, 0x1005cb6fc\njz      short loc_1005CB6C4                                            ; +0x72, 0x1005cb702\njmp     short loc_1005CB6D9                                            ; +0x74, 0x1005cb704", "xrefs": ["EditorUI::onCreateObject @ 0x1000351d9", "EditorUI::moveObject @ 0x10003e964", "PlayLayer::addObject @ 0x1000b2a19", "LevelEditorLayer::tryUpdateSpeedObject @ 0x1000ea26d"], "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"}