{"type": "func", "start": 4301036848, "end": 4301036993, "name": "GameObject::updateIsOriented", "pseudocode": "// \n// GameObject::updateIsOriented from 0x1005c9d30 to 0x1005c9dc1 (145 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::addObject @ 0x1000b1fdb\n// > LevelEditorLayer::onPlaytest @ 0x1000f2430\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\nvoid __fastcall GameObject::updateIsOriented(GameObject *a1)\n{\n  a1->m_shouldUseOuterOb = 0;\n  switch ( a1->m_objectType )\n  {\n    case Solid:\n    case Breakable:\n    case Slope:\n      if ( a1->m_isNoTouch )\n        goto LABEL_3;\n      break;\n    case Decoration:\n      return;\n    default:\nLABEL_3:\n      if ( __ROR4__(-1527099483 * (int)((float (__fastcall *)(GameObject *))a1->getRotation)(a1) + 47721858, 1) >= 0x2D82D83u\n        && a1->m_objectRadius <= 0.0 )\n      {\n        a1->m_shouldUseOuterOb = 1;\n        ((void (__fastcall *)(GameObject *))a1->updateOrientedBox)(a1);\n        ((void (__fastcall *)(GameObject *))a1->getObjectRect)(a1);\n      }\n      break;\n  }\n}", "assembly": "; \n; GameObject::updateIsOriented from 0x1005c9d30 to 0x1005c9dc1 (145 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::addObject @ 0x1000b1fdb\n; > LevelEditorLayer::onPlaytest @ 0x1000f2430\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, 0x1005c9d30\nmov     rbp, rsp                                                       ; +0x1, 0x1005c9d31\npush    rbx                                                            ; +0x4, 0x1005c9d34\npush    rax                                                            ; +0x5, 0x1005c9d35\nmov     rbx, rdi                                                       ; +0x6, 0x1005c9d36\nmov     byte ptr [rdi+2E8h], 0                                         ; +0x9, 0x1005c9d39\nmov     eax, [rdi+398h]                                                ; +0x10, 0x1005c9d40\ncmp     rax, 19h; switch 26 cases                                      ; +0x16, 0x1005c9d46\nja      short def_1005C9D5A; jumptable 00000001005C9D5A default case, cases 1-6,8-20,22-24 ; +0x1a, 0x1005c9d4a\nlea     rcx, jpt_1005C9D5A                                             ; +0x1c, 0x1005c9d4c\nmovsxd  rax, (jpt_1005C9D5A - 1005C9DC4h)[rcx+rax*4]                   ; +0x23, 0x1005c9d53\nadd     rax, rcx                                                       ; +0x27, 0x1005c9d57\njmp     rax; switch jump                                               ; +0x2a, 0x1005c9d5a\ncmp     byte ptr [rbx+4BEh], 1; jumptable 00000001005C9D5A cases 0,21,25 ; +0x2c, 0x1005c9d5c\njnz     short loc_1005C9D95; jumptable 00000001005C9D5A case 7         ; +0x33, 0x1005c9d63\nmov     rax, [rbx]; jumptable 00000001005C9D5A default case, cases 1-6,8-20,22-24 ; +0x35, 0x1005c9d65\nmov     rdi, rbx                                                       ; +0x38, 0x1005c9d68\ncall    qword ptr [rax+160h]                                           ; +0x3b, 0x1005c9d6b\ncvttss2si eax, xmm0                                                    ; +0x41, 0x1005c9d71\nimul    eax, 0A4FA4FA5h                                                ; +0x45, 0x1005c9d75\nadd     eax, 2D82D82h                                                  ; +0x4b, 0x1005c9d7b\nror     eax, 1                                                         ; +0x50, 0x1005c9d80\ncmp     eax, 2D82D83h                                                  ; +0x52, 0x1005c9d82\njb      short loc_1005C9D95; jumptable 00000001005C9D5A case 7         ; +0x57, 0x1005c9d87\nxorps   xmm0, xmm0                                                     ; +0x59, 0x1005c9d89\nucomiss xmm0, dword ptr [rbx+384h]                                     ; +0x5c, 0x1005c9d8c\njnb     short loc_1005C9D9C                                            ; +0x63, 0x1005c9d93\nadd     rsp, 8; jumptable 00000001005C9D5A case 7                      ; +0x65, 0x1005c9d95\npop     rbx                                                            ; +0x69, 0x1005c9d99\npop     rbp                                                            ; +0x6a, 0x1005c9d9a\nretn                                                                   ; +0x6b, 0x1005c9d9b\nmov     byte ptr [rbx+2E8h], 1                                         ; +0x6c, 0x1005c9d9c\nmov     rax, [rbx]                                                     ; +0x73, 0x1005c9da3\nmov     rdi, rbx                                                       ; +0x76, 0x1005c9da6\ncall    qword ptr [rax+610h]                                           ; +0x79, 0x1005c9da9\nmov     rax, [rbx]                                                     ; +0x7f, 0x1005c9daf\nmov     rdi, rbx                                                       ; +0x82, 0x1005c9db2\nadd     rsp, 8                                                         ; +0x85, 0x1005c9db5\npop     rbx                                                            ; +0x89, 0x1005c9db9\npop     rbp                                                            ; +0x8a, 0x1005c9dba\njmp     qword ptr [rax+520h]                                           ; +0x8b, 0x1005c9dbb", "xrefs": ["PlayLayer::addObject @ 0x1000b1fdb", "LevelEditorLayer::onPlaytest @ 0x1000f2430"], "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"}