{"type": "func", "start": 4301847264, "end": 4301847300, "name": "GameObject::canRotateFree", "pseudocode": "// \n// GameObject::canRotateFree from 0x10068fae0 to 0x10068fb04 (36 bytes)\n// \n// 5 xrefs:\n// > EditorUI::toggleSpecialEditButtons @ 0x10000c132\n// > EditorUI::toggleSpecialEditButtons @ 0x10000c171\n// > EditorUI::onCreateObject @ 0x100011785\n// > GJBaseGameLayer::loadLevelSettings @ 0x100138203\n// > GJBaseGameLayer::applyLevelSettings @ 0x10013825b\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:07 +0000\n// \n\nchar __fastcall GameObject::canRotateFree(__int64 a1)\n{\n  unsigned int v1; // ecx\n  char result; // al\n  int v3; // edx\n\n  v1 = *(_DWORD *)(a1 + 920);\n  result = 1;\n  if ( v1 <= 0x19 )\n  {\n    v3 = 35651585;\n    if ( _bittest(&v3, v1) )\n      return *(_BYTE *)(a1 + 1214);\n  }\n  return result;\n}", "assembly": "; \n; GameObject::canRotateFree from 0x10068fae0 to 0x10068fb04 (36 bytes)\n; \n; 5 xrefs:\n; > EditorUI::toggleSpecialEditButtons @ 0x10000c132\n; > EditorUI::toggleSpecialEditButtons @ 0x10000c171\n; > EditorUI::onCreateObject @ 0x100011785\n; > GJBaseGameLayer::loadLevelSettings @ 0x100138203\n; > GJBaseGameLayer::applyLevelSettings @ 0x10013825b\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:07 +0000\n; \npush    rbp                                                            ; +0x0, 0x10068fae0\nmov     rbp, rsp                                                       ; +0x1, 0x10068fae1\nmov     ecx, [rdi+398h]                                                ; +0x4, 0x10068fae4\nmov     al, 1                                                          ; +0xa, 0x10068faea\ncmp     ecx, 19h                                                       ; +0xc, 0x10068faec\nja      short loc_10068FB02                                            ; +0xf, 0x10068faef\nmov     edx, 2200001h                                                  ; +0x11, 0x10068faf1\nbt      edx, ecx                                                       ; +0x16, 0x10068faf6\njnb     short loc_10068FB02                                            ; +0x19, 0x10068faf9\nmovzx   eax, byte ptr [rdi+4BEh]                                       ; +0x1b, 0x10068fafb\npop     rbp                                                            ; +0x22, 0x10068fb02\nretn                                                                   ; +0x23, 0x10068fb03", "xrefs": ["EditorUI::toggleSpecialEditButtons @ 0x10000c132", "EditorUI::toggleSpecialEditButtons @ 0x10000c171", "EditorUI::onCreateObject @ 0x100011785", "GJBaseGameLayer::loadLevelSettings @ 0x100138203", "GJBaseGameLayer::applyLevelSettings @ 0x10013825b"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}