{"type": "func", "start": 4301905680, "end": 4301905834, "name": "EnhancedGameObject::createRotateAction", "pseudocode": "// \n// EnhancedGameObject::createRotateAction from 0x10069df10 to 0x10069dfaa (154 bytes)\n// \n// 2 xrefs:\n// > EnhancedGameObject::customSetup @ 0x10069e4a8\n// > EnhancedGameObject::customSetup @ 0x10069e713\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:17 +0000\n// \n\n_BOOL8 __fastcall EnhancedGameObject::createRotateAction(__int64 a1, int a2, __m128 a3)\n{\n  __m128 v3; // xmm3\n  _BOOL8 result; // rax\n  __m128 v5; // xmm2\n\n  if ( a3.f32[0] != 0.0 )\n    *(_DWORD *)(a1 + 1396) = a3.i32[0];\n  v3.i32[0] = *(_DWORD *)(a1 + 1392);\n  result = 1;\n  if ( v3.f32[0] != 0.0 )\n    a2 = 1;\n  if ( !a2 )\n  {\n    result = (float)((float)rand() * 4.6566129e-10) > 0.5;\n    a2 = 2 * result - 1;\n  }\n  v5 = _mm_cmpneq_ss((__m128)0LL, v3);\n  *(float *)(a1 + 1400) = (float)a2 * COERCE_FLOAT(_mm_andnot_ps(v5, a3).u32[0] | v3.i32[0] & v5.i32[0]);\n  return result;\n}", "assembly": "; \n; EnhancedGameObject::createRotateAction from 0x10069df10 to 0x10069dfaa (154 bytes)\n; \n; 2 xrefs:\n; > EnhancedGameObject::customSetup @ 0x10069e4a8\n; > EnhancedGameObject::customSetup @ 0x10069e713\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:17 +0000\n; \npush    rbp                                                            ; +0x0, 0x10069df10\nmov     rbp, rsp                                                       ; +0x1, 0x10069df11\npush    rbx                                                            ; +0x4, 0x10069df14\nsub     rsp, 28h                                                       ; +0x5, 0x10069df15\nmov     rbx, rdi                                                       ; +0x9, 0x10069df19\nxorps   xmm1, xmm1                                                     ; +0xc, 0x10069df1c\nucomiss xmm0, xmm1                                                     ; +0xf, 0x10069df1f\njnz     short loc_10069DF26                                            ; +0x12, 0x10069df22\njnp     short loc_10069DF2E                                            ; +0x14, 0x10069df24\nmovss   dword ptr [rbx+574h], xmm0                                     ; +0x16, 0x10069df26\nmovss   xmm3, dword ptr [rbx+570h]                                     ; +0x1e, 0x10069df2e\nucomiss xmm1, xmm3                                                     ; +0x26, 0x10069df36\nmov     eax, 1                                                         ; +0x29, 0x10069df39\ncmovnz  esi, eax                                                       ; +0x2e, 0x10069df3e\ncmovp   esi, eax                                                       ; +0x31, 0x10069df41\ntest    esi, esi                                                       ; +0x34, 0x10069df44\njnz     short loc_10069DF7F                                            ; +0x36, 0x10069df46\nmovaps  [rbp+var_30], xmm0                                             ; +0x38, 0x10069df48\nmovaps  [rbp+var_20], xmm3                                             ; +0x3c, 0x10069df4c\ncall    _rand                                                          ; +0x40, 0x10069df50\nmovaps  xmm3, [rbp+var_20]                                             ; +0x45, 0x10069df55\nmovaps  xmm0, [rbp+var_30]                                             ; +0x49, 0x10069df59\nxorps   xmm1, xmm1                                                     ; +0x4d, 0x10069df5d\ncvtsi2ss xmm1, eax                                                     ; +0x50, 0x10069df60\nmulss   xmm1, cs:dword_100A03A50                                       ; +0x54, 0x10069df64\nxor     eax, eax                                                       ; +0x5c, 0x10069df6c\nucomiss xmm1, cs:dword_100A03578                                       ; +0x5e, 0x10069df6e\nsetnbe  al                                                             ; +0x65, 0x10069df75\nlea     esi, ds:0FFFFFFFFFFFFFFFFh[rax*2]                              ; +0x68, 0x10069df78\nxorps   xmm2, xmm2                                                     ; +0x6f, 0x10069df7f\ncmpneqss xmm2, xmm3                                                    ; +0x72, 0x10069df82\nandps   xmm3, xmm2                                                     ; +0x77, 0x10069df87\nxorps   xmm1, xmm1                                                     ; +0x7a, 0x10069df8a\ncvtsi2ss xmm1, esi                                                     ; +0x7d, 0x10069df8d\nandnps  xmm2, xmm0                                                     ; +0x81, 0x10069df91\norps    xmm2, xmm3                                                     ; +0x84, 0x10069df94\nmulss   xmm1, xmm2                                                     ; +0x87, 0x10069df97\nmovss   dword ptr [rbx+578h], xmm1                                     ; +0x8b, 0x10069df9b\nadd     rsp, 28h                                                       ; +0x93, 0x10069dfa3\npop     rbx                                                            ; +0x97, 0x10069dfa7\npop     rbp                                                            ; +0x98, 0x10069dfa8\nretn                                                                   ; +0x99, 0x10069dfa9", "xrefs": ["EnhancedGameObject::customSetup @ 0x10069e4a8", "EnhancedGameObject::customSetup @ 0x10069e713"], "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"}