{"type": "func", "start": 8792072, "end": 8792196, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x862808 to 0x862884 (124 bytes)\n// \n// 3 xrefs:\n// > GJBaseGameLayer::rotateObjects @ 0x862d08\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x884a18\n// > <???> @ 0xc5430\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 GJBaseGameLayer::rotateObject(GJBaseGameLayer *a1, GameObject *a2, float a3)\n{\n  float m_rotationYOffset; // s2\n  _BOOL4 m_shouldUseOuterOb; // w1\n\n  if ( a3 != 0.0 && a2->m_canRotateFree )\n  {\n    m_rotationYOffset = a2->m_rotationYOffset;\n    a2->m_rotationXOffset = a2->m_rotationXOffset + a3;\n    a2->m_rotationYOffset = m_rotationYOffset + a3;\n    GameObject::addRotation(a2, a3);\n    if ( a2->m_objectType != Decoration )\n    {\n      m_shouldUseOuterOb = a2->m_shouldUseOuterOb;\n      a2->m_isObjectRectDirty = 1;\n      a2->m_isOrientedBoxDirty = 1;\n      if ( !m_shouldUseOuterOb )\n        GameObject::calculateOrientedBox(a2);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::rotateObject from 0x862808 to 0x862884 (124 bytes)\n; \n; 3 xrefs:\n; > GJBaseGameLayer::rotateObjects @ 0x862d08\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x884a18\n; > <???> @ 0xc5430\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             X29, X30, [SP,#var_20]!                                ; +0x0, 0x862808\nFCMP            S0, #0.0; float                                        ; +0x4, 0x86280c\nMOV             X29, SP                                                ; +0x8, 0x862810\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x862814\nB.EQ            loc_862824                                             ; +0x10, 0x862818\nLDRB            W0, [X1,#0x354]                                        ; +0x14, 0x86281c\nCBNZ            W0, loc_862830                                         ; +0x18, 0x862820\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x1c, 0x862824\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x20, 0x862828\nRET                                                                    ; +0x24, 0x86282c\nLDR             S3, [X1,#0x2A4]                                        ; +0x28, 0x862830\nMOV             X19, X1                                                ; +0x2c, 0x862834\nLDR             S2, [X1,#0x2AC]                                        ; +0x30, 0x862838\nMOV             X0, X1; this                                           ; +0x34, 0x86283c\nFADD            S3, S3, S0                                             ; +0x38, 0x862840\nFADD            S1, S2, S0                                             ; +0x3c, 0x862844\nSTR             S3, [X1,#0x2A4]                                        ; +0x40, 0x862848\nSTR             S1, [X1,#0x2AC]                                        ; +0x44, 0x86284c\nBL              _ZN10GameObject11addRotationEf; GameObject::addRotation(float) ; +0x48, 0x862850\nLDR             W0, [X19,#0x388]                                       ; +0x4c, 0x862854\nCMP             W0, #7                                                 ; +0x50, 0x862858\nB.EQ            loc_862824                                             ; +0x54, 0x86285c\nLDRB            W1, [X19,#0x2E8]                                       ; +0x58, 0x862860\nMOV             W0, #1                                                 ; +0x5c, 0x862864\nSTRB            W0, [X19,#0x350]                                       ; +0x60, 0x862868\nSTRB            W0, [X19,#0x351]                                       ; +0x64, 0x86286c\nCBNZ            W1, loc_862824                                         ; +0x68, 0x862870\nMOV             X0, X19; this                                          ; +0x6c, 0x862874\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x70, 0x862878\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x74, 0x86287c\nB               _ZN10GameObject20calculateOrientedBoxEv; GameObject::calculateOrientedBox(void) ; +0x78, 0x862880", "xrefs": ["GJBaseGameLayer::rotateObjects @ 0x862d08", "GJBaseGameLayer::processAdvancedFollowAction @ 0x884a18", "<???> @ 0xc5430"], "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"}