{"type": "func", "start": 4300151232, "end": 4300151294, "name": "GameToolbox::fast_rand_minus1_1", "pseudocode": "// \n// GameToolbox::fast_rand_minus1_1 from 0x1004f19c0 to 0x1004f19fe (62 bytes)\n// \n// 1 xrefs:\n// > SpawnTriggerGameObject::triggerObject @ 0x1001d3149\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\nfloat __fastcall GameToolbox::fast_rand_minus1_1()\n{\n  qword_1009A2460 = 214013 * qword_1009A2460 + 2531011;\n  return (float)((float)((float)(WORD1(qword_1009A2460) & 0x7FFF) / 32767.0)\n               + (float)((float)(WORD1(qword_1009A2460) & 0x7FFF) / 32767.0))\n       + -1.0;\n}", "assembly": "; \n; GameToolbox::fast_rand_minus1_1 from 0x1004f19c0 to 0x1004f19fe (62 bytes)\n; \n; 1 xrefs:\n; > SpawnTriggerGameObject::triggerObject @ 0x1001d3149\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, 0x1004f19c0\nmov     rbp, rsp                                                       ; +0x1, 0x1004f19c1\nimul    rax, cs:qword_1009A2460, 343FDh                                ; +0x4, 0x1004f19c4\nadd     rax, 269EC3h                                                   ; +0xf, 0x1004f19cf\nmov     cs:qword_1009A2460, rax                                        ; +0x15, 0x1004f19d5\nshr     eax, 10h                                                       ; +0x1c, 0x1004f19dc\nand     eax, 7FFFh                                                     ; +0x1f, 0x1004f19df\ncvtsi2ss xmm0, eax                                                     ; +0x24, 0x1004f19e4\ndivss   xmm0, cs:dword_100816868                                       ; +0x28, 0x1004f19e8\naddss   xmm0, xmm0                                                     ; +0x30, 0x1004f19f0\naddss   xmm0, cs:dword_100815094                                       ; +0x34, 0x1004f19f4\npop     rbp                                                            ; +0x3c, 0x1004f19fc\nretn                                                                   ; +0x3d, 0x1004f19fd", "xrefs": ["SpawnTriggerGameObject::triggerObject @ 0x1001d3149"], "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"}