{"type": "func", "start": 4297035140, "end": 4297035264, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x1001f8d84 to 0x1001f8e00 (124 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::rotateObjects @ 0x1001f9120\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa680\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 GJBaseGameLayer::rotateObject(GJBaseGameLayer *a1, GameObject *a2, float a3)\n{\n  if ( a3 != 0.0 && a2->m_canRotateFree )\n  {\n    a2->m_rotationXOffset = a2->m_rotationXOffset + a3;\n    a2->m_rotationYOffset = a2->m_rotationYOffset + a3;\n    GameObject::addRotation(a2, a3);\n    if ( a2->m_objectType != Decoration )\n    {\n      *(_WORD *)&a2->m_isObjectRectDirty = 257;\n      if ( !a2->m_shouldUseOuterOb )\n        GameObject::calculateOrientedBox(a2);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::rotateObject from 0x1001f8d84 to 0x1001f8e00 (124 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::rotateObjects @ 0x1001f9120\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa680\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, 0x1001f8d84\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x1001f8d88\nADD             X29, SP, #0x10                                         ; +0x8, 0x1001f8d8c\nFCMP            S0, #0.0                                               ; +0xc, 0x1001f8d90\nB.EQ            loc_1001F8DE4                                          ; +0x10, 0x1001f8d94\nMOV             X19, X1                                                ; +0x14, 0x1001f8d98\nLDRB            W8, [X1,#0x364]                                        ; +0x18, 0x1001f8d9c\nCMP             W8, #1                                                 ; +0x1c, 0x1001f8da0\nB.NE            loc_1001F8DE4                                          ; +0x20, 0x1001f8da4\nLDR             S1, [X19,#0x2A4]                                       ; +0x24, 0x1001f8da8\nFADD            S1, S1, S0                                             ; +0x28, 0x1001f8dac\nSTR             S1, [X19,#0x2A4]                                       ; +0x2c, 0x1001f8db0\nLDR             S1, [X19,#0x2AC]                                       ; +0x30, 0x1001f8db4\nFADD            S1, S1, S0                                             ; +0x34, 0x1001f8db8\nSTR             S1, [X19,#0x2AC]                                       ; +0x38, 0x1001f8dbc\nMOV             X0, X19                                                ; +0x3c, 0x1001f8dc0\nBL              GameObject__addRotation                                ; +0x40, 0x1001f8dc4\nLDR             W8, [X19,#0x398]                                       ; +0x44, 0x1001f8dc8\nCMP             W8, #7                                                 ; +0x48, 0x1001f8dcc\nB.EQ            loc_1001F8DE4                                          ; +0x4c, 0x1001f8dd0\nMOV             W8, #0x101                                             ; +0x50, 0x1001f8dd4\nSTRH            W8, [X19,#0x360]                                       ; +0x54, 0x1001f8dd8\nLDRB            W8, [X19,#0x2E8]                                       ; +0x58, 0x1001f8ddc\nTBZ             W8, #0, loc_1001F8DF0                                  ; +0x5c, 0x1001f8de0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x60, 0x1001f8de4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x64, 0x1001f8de8\nRET                                                                    ; +0x68, 0x1001f8dec\nMOV             X0, X19                                                ; +0x6c, 0x1001f8df0\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x70, 0x1001f8df4\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x74, 0x1001f8df8\nB               GameObject__calculateOrientedBox                       ; +0x78, 0x1001f8dfc", "xrefs": ["GJBaseGameLayer::rotateObjects @ 0x1001f9120", "GJBaseGameLayer::processAdvancedFollowAction @ 0x1001fa680"], "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"}