{"type": "func", "start": 4297464468, "end": 4297464672, "name": "GameObject::updateIsOriented", "pseudocode": "// \n// GameObject::updateIsOriented from 0x100261a94 to 0x100261b60 (204 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::addObject @ 0x1001188a4\n// > LevelEditorLayer::onPlaytest @ 0x100362ce4\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  GameObjectType m_objectType; // w8\n  unsigned __int64 v4; // t2\n\n  a1->m_shouldUseOuterOb = 0;\n  m_objectType = a1->m_objectType;\n  if ( m_objectType <= Modifier )\n  {\n    if ( m_objectType )\n    {\n      if ( m_objectType == Decoration )\n        return;\n      goto LABEL_11;\n    }\nLABEL_10:\n    if ( !a1->m_isNoTouch )\n      return;\n    goto LABEL_11;\n  }\n  if ( m_objectType == Slope || m_objectType == Breakable )\n    goto LABEL_10;\nLABEL_11:\n  HIDWORD(v4) = -1527099483 * (int)((float (__fastcall *)(GameObject *))a1->getRotation)(a1) + 47721858;\n  LODWORD(v4) = HIDWORD(v4);\n  if ( (unsigned int)(v4 >> 1) >= 0x2D82D83 && 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}", "assembly": "; \n; GameObject::updateIsOriented from 0x100261a94 to 0x100261b60 (204 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::addObject @ 0x1001188a4\n; > LevelEditorLayer::onPlaytest @ 0x100362ce4\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\nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x100261a94\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100261a98\nADD             X29, SP, #0x10                                         ; +0x8, 0x100261a9c\nMOV             X19, X0                                                ; +0xc, 0x100261aa0\nSTRB            WZR, [X0,#0x2E8]                                       ; +0x10, 0x100261aa4\nLDR             W8, [X0,#0x398]                                        ; +0x14, 0x100261aa8\nCMP             W8, #0x14                                              ; +0x18, 0x100261aac\nB.GT            loc_100261AC4                                          ; +0x1c, 0x100261ab0\nCBZ             W8, loc_100261AD0                                      ; +0x20, 0x100261ab4\nCMP             W8, #7                                                 ; +0x24, 0x100261ab8\nB.EQ            loc_100261B24                                          ; +0x28, 0x100261abc\nB               loc_100261ADC                                          ; +0x2c, 0x100261ac0\nCMP             W8, #0x19                                              ; +0x30, 0x100261ac4\nCCMP            W8, #0x15, #4, NE                                      ; +0x34, 0x100261ac8\nB.NE            loc_100261ADC                                          ; +0x38, 0x100261acc\nLDRB            W8, [X19,#0x4BE]                                       ; +0x3c, 0x100261ad0\nCMP             W8, #1                                                 ; +0x40, 0x100261ad4\nB.NE            loc_100261B24                                          ; +0x44, 0x100261ad8\nLDR             X8, [X19]                                              ; +0x48, 0x100261adc\nLDR             X8, [X8,#0x160]                                        ; +0x4c, 0x100261ae0\nMOV             X0, X19                                                ; +0x50, 0x100261ae4\nBLR             X8                                                     ; +0x54, 0x100261ae8\nFCVTZS          W8, S0                                                 ; +0x58, 0x100261aec\nMOV             W9, #0xA4FA4FA5                                        ; +0x5c, 0x100261af0\nMOV             W10, #0x2D82D82                                        ; +0x64, 0x100261af8\nMADD            W8, W8, W9, W10                                        ; +0x6c, 0x100261b00\nEXTR            W8, W8, W8, #1                                         ; +0x70, 0x100261b04\nMOV             W9, #0x2D82D83                                         ; +0x74, 0x100261b08\nCMP             W8, W9                                                 ; +0x7c, 0x100261b10\nB.CC            loc_100261B24                                          ; +0x80, 0x100261b14\nLDR             S0, [X19,#0x384]                                       ; +0x84, 0x100261b18\nFCMP            S0, #0.0                                               ; +0x88, 0x100261b1c\nB.LS            loc_100261B30                                          ; +0x8c, 0x100261b20\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x90, 0x100261b24\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x94, 0x100261b28\nRET                                                                    ; +0x98, 0x100261b2c\nMOV             W8, #1                                                 ; +0x9c, 0x100261b30\nSTRB            W8, [X19,#0x2E8]                                       ; +0xa0, 0x100261b34\nLDR             X8, [X19]                                              ; +0xa4, 0x100261b38\nLDR             X8, [X8,#0x610]                                        ; +0xa8, 0x100261b3c\nMOV             X0, X19                                                ; +0xac, 0x100261b40\nBLR             X8                                                     ; +0xb0, 0x100261b44\nLDR             X8, [X19]                                              ; +0xb4, 0x100261b48\nLDR             X1, [X8,#0x520]                                        ; +0xb8, 0x100261b4c\nMOV             X0, X19                                                ; +0xbc, 0x100261b50\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0xc0, 0x100261b54\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0xc4, 0x100261b58\nBR              X1                                                     ; +0xc8, 0x100261b5c", "xrefs": ["PlayLayer::addObject @ 0x1001188a4", "LevelEditorLayer::onPlaytest @ 0x100362ce4"], "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"}