{"type": "func", "start": 4301925584, "end": 4301925702, "name": "EnhancedGameObject::refreshRotateAction", "pseudocode": "// \n// EnhancedGameObject::refreshRotateAction from 0x1006a2cd0 to 0x1006a2d46 (118 bytes)\n// \n// 1 xrefs:\n// > SetupRotatePopup::onClose @ 0x10066e8e8\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:35:18 +0000\n// \n\n_BOOL8 __fastcall EnhancedGameObject::refreshRotateAction(float *a1)\n{\n  float v1; // xmm1_4\n  _BOOL8 result; // rax\n  float v3; // xmm0_4\n\n  v1 = a1[348];\n  if ( v1 == 0.0 )\n  {\n    v1 = a1[349];\n    result = (float)((float)rand() * 4.6566129e-10) > 0.5;\n    v3 = flt_100A05F68[result];\n  }\n  else\n  {\n    v3 = 1.0;\n  }\n  a1[350] = v1 * v3;\n  return result;\n}", "assembly": "; \n; EnhancedGameObject::refreshRotateAction from 0x1006a2cd0 to 0x1006a2d46 (118 bytes)\n; \n; 1 xrefs:\n; > SetupRotatePopup::onClose @ 0x10066e8e8\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:35:18 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006a2cd0\nmov     rbp, rsp                                                       ; +0x1, 0x1006a2cd1\npush    rbx                                                            ; +0x4, 0x1006a2cd4\npush    rax                                                            ; +0x5, 0x1006a2cd5\nmov     rbx, rdi                                                       ; +0x6, 0x1006a2cd6\nmovss   xmm1, dword ptr [rdi+570h]                                     ; +0x9, 0x1006a2cd9\nxorps   xmm0, xmm0                                                     ; +0x11, 0x1006a2ce1\nucomiss xmm1, xmm0                                                     ; +0x14, 0x1006a2ce4\njnz     short loc_1006A2D2B                                            ; +0x17, 0x1006a2ce7\njp      short loc_1006A2D2B                                            ; +0x19, 0x1006a2ce9\nmovss   xmm0, dword ptr [rbx+574h]                                     ; +0x1b, 0x1006a2ceb\nmovss   [rbp+var_C], xmm0                                              ; +0x23, 0x1006a2cf3\ncall    _rand                                                          ; +0x28, 0x1006a2cf8\nmovss   xmm1, [rbp+var_C]                                              ; +0x2d, 0x1006a2cfd\nxorps   xmm0, xmm0                                                     ; +0x32, 0x1006a2d02\ncvtsi2ss xmm0, eax                                                     ; +0x35, 0x1006a2d05\nmulss   xmm0, cs:dword_100A03A50                                       ; +0x39, 0x1006a2d09\nxor     eax, eax                                                       ; +0x41, 0x1006a2d11\nucomiss xmm0, cs:dword_100A03578                                       ; +0x43, 0x1006a2d13\nsetnbe  al                                                             ; +0x4a, 0x1006a2d1a\nlea     rcx, flt_100A05F68                                             ; +0x4d, 0x1006a2d1d\nmovss   xmm0, dword ptr [rcx+rax*4]                                    ; +0x54, 0x1006a2d24\njmp     short loc_1006A2D33                                            ; +0x59, 0x1006a2d29\nmovss   xmm0, cs:alpha                                                 ; +0x5b, 0x1006a2d2b\nmulss   xmm1, xmm0                                                     ; +0x63, 0x1006a2d33\nmovss   dword ptr [rbx+578h], xmm1                                     ; +0x67, 0x1006a2d37\nadd     rsp, 8                                                         ; +0x6f, 0x1006a2d3f\npop     rbx                                                            ; +0x73, 0x1006a2d43\npop     rbp                                                            ; +0x74, 0x1006a2d44\nretn                                                                   ; +0x75, 0x1006a2d45", "xrefs": ["SetupRotatePopup::onClose @ 0x10066e8e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}