{"type": "func", "start": 4297446216, "end": 4297446264, "name": "GameObject::canRotateFree", "pseudocode": "// \n// GameObject::canRotateFree from 0x10025d348 to 0x10025d378 (48 bytes)\n// \n// 5 xrefs:\n// > GJBaseGameLayer::loadLevelSettings @ 0x100201f80\n// > GJBaseGameLayer::applyLevelSettings @ 0x100201fe8\n// > EditorUI::toggleSpecialEditButtons @ 0x1003e64d0\n// > EditorUI::toggleSpecialEditButtons @ 0x1003e6500\n// > EditorUI::onCreateObject @ 0x1003eb914\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::canRotateFree(GameObject *a1)\n{\n  GameObjectType m_objectType; // w9\n  bool v2; // w8\n  bool v3; // cc\n  int v4; // w9\n\n  m_objectType = a1->m_objectType;\n  v2 = 1;\n  v3 = (unsigned int)m_objectType > Slope;\n  v4 = (1 << m_objectType) & 0x2200001;\n  if ( !v3 && v4 != 0 )\n    return a1->m_isNoTouch;\n  return v2;\n}", "assembly": "; \n; GameObject::canRotateFree from 0x10025d348 to 0x10025d378 (48 bytes)\n; \n; 5 xrefs:\n; > GJBaseGameLayer::loadLevelSettings @ 0x100201f80\n; > GJBaseGameLayer::applyLevelSettings @ 0x100201fe8\n; > EditorUI::toggleSpecialEditButtons @ 0x1003e64d0\n; > EditorUI::toggleSpecialEditButtons @ 0x1003e6500\n; > EditorUI::onCreateObject @ 0x1003eb914\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             W9, [X0,#0x398]                                        ; +0x0, 0x10025d348\nMOV             W8, #1                                                 ; +0x4, 0x10025d34c\nCMP             W9, #0x19                                              ; +0x8, 0x10025d350\nLSL             W9, W8, W9                                             ; +0xc, 0x10025d354\nMOV             W10, #0x2200001                                        ; +0x10, 0x10025d358\nAND             W9, W9, W10                                            ; +0x18, 0x10025d360\nCCMP            W9, #0, #4, LS                                         ; +0x1c, 0x10025d364\nB.EQ            loc_10025D370                                          ; +0x20, 0x10025d368\nLDRB            W8, [X0,#0x4BE]                                        ; +0x24, 0x10025d36c\nAND             W0, W8, #1                                             ; +0x28, 0x10025d370\nRET                                                                    ; +0x2c, 0x10025d374", "xrefs": ["GJBaseGameLayer::loadLevelSettings @ 0x100201f80", "GJBaseGameLayer::applyLevelSettings @ 0x100201fe8", "EditorUI::toggleSpecialEditButtons @ 0x1003e64d0", "EditorUI::toggleSpecialEditButtons @ 0x1003e6500", "EditorUI::onCreateObject @ 0x1003eb914"], "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"}