{"type": "func", "start": 4301067664, "end": 4301067782, "name": "EnhancedGameObject::refreshRotateAction", "pseudocode": "// \n// EnhancedGameObject::refreshRotateAction from 0x1005d1590 to 0x1005d1606 (118 bytes)\n// \n// 1 xrefs:\n// > SetupRotatePopup::onClose @ 0x10059d1f8\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 EnhancedGameObject::refreshRotateAction(EnhancedGameObject *a1)\n{\n  float m_rotationSpeed; // xmm1_4\n  float v2; // xmm0_4\n\n  m_rotationSpeed = a1->m_rotationSpeed;\n  if ( m_rotationSpeed == 0.0 )\n  {\n    m_rotationSpeed = a1->m_rotationAngle;\n    v2 = flt_100817B30[(float)((float)rand() * 4.6566129e-10) > 0.5];\n  }\n  else\n  {\n    v2 = 1.0;\n  }\n  a1->m_rotationDelta = m_rotationSpeed * v2;\n}", "assembly": "; \n; EnhancedGameObject::refreshRotateAction from 0x1005d1590 to 0x1005d1606 (118 bytes)\n; \n; 1 xrefs:\n; > SetupRotatePopup::onClose @ 0x10059d1f8\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, 0x1005d1590\nmov     rbp, rsp                                                       ; +0x1, 0x1005d1591\npush    rbx                                                            ; +0x4, 0x1005d1594\npush    rax                                                            ; +0x5, 0x1005d1595\nmov     rbx, rdi                                                       ; +0x6, 0x1005d1596\nmovss   xmm1, dword ptr [rdi+570h]                                     ; +0x9, 0x1005d1599\nxorps   xmm0, xmm0                                                     ; +0x11, 0x1005d15a1\nucomiss xmm1, xmm0                                                     ; +0x14, 0x1005d15a4\njnz     short loc_1005D15EB                                            ; +0x17, 0x1005d15a7\njp      short loc_1005D15EB                                            ; +0x19, 0x1005d15a9\nmovss   xmm0, dword ptr [rbx+574h]                                     ; +0x1b, 0x1005d15ab\nmovss   [rbp+var_C], xmm0                                              ; +0x23, 0x1005d15b3\ncall    _rand                                                          ; +0x28, 0x1005d15b8\nmovss   xmm1, [rbp+var_C]                                              ; +0x2d, 0x1005d15bd\nxorps   xmm0, xmm0                                                     ; +0x32, 0x1005d15c2\ncvtsi2ss xmm0, eax                                                     ; +0x35, 0x1005d15c5\nmulss   xmm0, cs:dword_100815710                                       ; +0x39, 0x1005d15c9\nxor     eax, eax                                                       ; +0x41, 0x1005d15d1\nucomiss xmm0, cs:dword_100814FA8                                       ; +0x43, 0x1005d15d3\nsetnbe  al                                                             ; +0x4a, 0x1005d15da\nlea     rcx, flt_100817B30                                             ; +0x4d, 0x1005d15dd\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x54, 0x1005d15e4\njmp     short loc_1005D15F3                                            ; +0x59, 0x1005d15e9\nmovss   xmm0, cs:alpha                                                 ; +0x5b, 0x1005d15eb\nmulss   xmm1, xmm0                                                     ; +0x63, 0x1005d15f3\nmovss   dword ptr [rbx+578h], xmm1                                     ; +0x67, 0x1005d15f7\nadd     rsp, 8                                                         ; +0x6f, 0x1005d15ff\npop     rbx                                                            ; +0x73, 0x1005d1603\npop     rbp                                                            ; +0x74, 0x1005d1604\nretn                                                                   ; +0x75, 0x1005d1605", "xrefs": ["SetupRotatePopup::onClose @ 0x10059d1f8"], "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"}