{"type": "func", "start": 4296307536, "end": 4296307660, "name": "GJBaseGameLayer::rotateObject", "pseudocode": "// \n// GJBaseGameLayer::rotateObject from 0x100147350 to 0x1001473cc (124 bytes)\n// \n// 0 xrefs:\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_1(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 0x100147350 to 0x1001473cc (124 bytes)\n; \n; 0 xrefs:\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, 0x100147350\nmov     rbp, rsp                                                       ; +0x1, 0x100147351\npush    rbx                                                            ; +0x4, 0x100147354\npush    rax                                                            ; +0x5, 0x100147355\nxorps   xmm1, xmm1                                                     ; +0x6, 0x100147356\nucomiss xmm0, xmm1                                                     ; +0x9, 0x100147359\njnz     short loc_100147360                                            ; +0xc, 0x10014735c\njnp     short loc_1001473BA                                            ; +0xe, 0x10014735e\ncmp     byte ptr [rsi+364h], 1                                         ; +0x10, 0x100147360\njnz     short loc_1001473BA                                            ; +0x17, 0x100147367\nmovss   xmm1, dword ptr [rsi+2A4h]                                     ; +0x19, 0x100147369\naddss   xmm1, xmm0                                                     ; +0x21, 0x100147371\nmovss   dword ptr [rsi+2A4h], xmm1                                     ; +0x25, 0x100147375\nmovss   xmm1, dword ptr [rsi+2ACh]                                     ; +0x2d, 0x10014737d\naddss   xmm1, xmm0                                                     ; +0x35, 0x100147385\nmovss   dword ptr [rsi+2ACh], xmm1                                     ; +0x39, 0x100147389\nmov     rdi, rsi                                                       ; +0x41, 0x100147391\nmov     rbx, rsi                                                       ; +0x44, 0x100147394\ncall    GameObject__addRotation_1                                      ; +0x47, 0x100147397\ncmp     dword ptr [rbx+398h], 7                                        ; +0x4c, 0x10014739c\njz      short loc_1001473BA                                            ; +0x53, 0x1001473a3\nmov     rdi, rbx                                                       ; +0x55, 0x1001473a5\nmov     word ptr [rbx+360h], 101h                                      ; +0x58, 0x1001473a8\ncmp     byte ptr [rbx+2E8h], 0                                         ; +0x61, 0x1001473b1\njz      short loc_1001473C1                                            ; +0x68, 0x1001473b8\nadd     rsp, 8                                                         ; +0x6a, 0x1001473ba\npop     rbx                                                            ; +0x6e, 0x1001473be\npop     rbp                                                            ; +0x6f, 0x1001473bf\nretn                                                                   ; +0x70, 0x1001473c0\nadd     rsp, 8                                                         ; +0x71, 0x1001473c1\npop     rbx                                                            ; +0x75, 0x1001473c5\npop     rbp                                                            ; +0x76, 0x1001473c6\njmp     GameObject__calculateOrientedBox                               ; +0x77, 0x1001473c7", "xrefs": [], "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"}