{"type": "func", "start": 4671300, "end": 4671392, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x474744 to 0x4747a0 (92 bytes)\n// \n// 2 xrefs:\n// > GJBaseGameLayer::rotateObjects @ 0x474aae\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x48adae\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  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      a2->m_isObjectRectDirty = 1;\n      a2->m_isOrientedBoxDirty = 1;\n      if ( !a2->m_shouldUseOuterOb )\n        GameObject::calculateOrientedBox(a2);\n    }\n  }\n}", "assembly": "; \n; GJBaseGameLayer::rotateObject from 0x474744 to 0x4747a0 (92 bytes)\n; \n; 2 xrefs:\n; > GJBaseGameLayer::rotateObjects @ 0x474aae\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x48adae\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\nVMOV            S15, R2                                                ; +0x0, 0x474744\nPUSH            {R4,LR}                                                ; +0x4, 0x474748\nVCMP.F32        S15, #0.0                                              ; +0x6, 0x47474a\nMOV             R4, R1                                                 ; +0xa, 0x47474e\nVMRS            APSR_nzcv, FPSCR                                       ; +0xc, 0x474750\nBEQ             locret_47479E                                          ; +0x10, 0x474754\nLDRB.W          R3, [R1,#0x2D8]                                        ; +0x12, 0x474756\nCBZ             R3, locret_47479E                                      ; +0x16, 0x47475a\nVLDR            S14, [R1,#0x240]                                       ; +0x18, 0x47475c\nMOV             R0, R1; this                                           ; +0x1c, 0x474760\nVADD.F32        S14, S14, S15                                          ; +0x1e, 0x474762\nVSTR            S14, [R1,#0x240]                                       ; +0x22, 0x474766\nVLDR            S14, [R1,#0x248]                                       ; +0x26, 0x47476a\nVADD.F32        S14, S14, S15                                          ; +0x2a, 0x47476e\nVSTR            S14, [R1,#0x248]                                       ; +0x2e, 0x474772\nMOV             R1, R2; float                                          ; +0x32, 0x474776\nBL              _ZN10GameObject11addRotationEf; GameObject::addRotation(float) ; +0x34, 0x474778\nLDR.W           R3, [R4,#0x308]                                        ; +0x38, 0x47477c\nCMP             R3, #7                                                 ; +0x3c, 0x474780\nBEQ             locret_47479E                                          ; +0x3e, 0x474782\nMOVS            R3, #1                                                 ; +0x40, 0x474784\nSTRB.W          R3, [R4,#0x2D4]                                        ; +0x42, 0x474786\nSTRB.W          R3, [R4,#0x2D5]                                        ; +0x46, 0x47478a\nLDRB.W          R3, [R4,#0x27C]                                        ; +0x4a, 0x47478e\nCBNZ            R3, locret_47479E                                      ; +0x4e, 0x474792\nMOV             R0, R4; this                                           ; +0x50, 0x474794\nPOP.W           {R4,LR}                                                ; +0x52, 0x474796\nB.W             _ZN10GameObject20calculateOrientedBoxEv; GameObject::calculateOrientedBox(void) ; +0x56, 0x47479a\nPOP             {R4,PC}                                                ; +0x5a, 0x47479e", "xrefs": ["GJBaseGameLayer::rotateObjects @ 0x474aae", "GJBaseGameLayer::processAdvancedFollowAction @ 0x48adae"], "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"}