{"type": "func", "start": 4300141184, "end": 4300141246, "name": "GameToolbox::fast_rand_minus1_1", "pseudocode": "// \n// GameToolbox::fast_rand_minus1_1 from 0x1004ef280 to 0x1004ef2be (62 bytes)\n// \n// 1 xrefs:\n// > SpawnTriggerGameObject::triggerObject @ 0x1001b3e19\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:31:23 +0000\n// \n\nfloat GameToolbox::fast_rand_minus1_1()\n{\n  qword_100BE50F0 = 214013 * qword_100BE50F0 + 2531011;\n  return (float)((float)((float)(WORD1(qword_100BE50F0) & 0x7FFF) / 32767.0)\n               + (float)((float)(WORD1(qword_100BE50F0) & 0x7FFF) / 32767.0))\n       + -1.0;\n}", "assembly": "; \n; GameToolbox::fast_rand_minus1_1 from 0x1004ef280 to 0x1004ef2be (62 bytes)\n; \n; 1 xrefs:\n; > SpawnTriggerGameObject::triggerObject @ 0x1001b3e19\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:31:23 +0000\n; \npush    rbp                                                            ; +0x0, 0x1004ef280\nmov     rbp, rsp                                                       ; +0x1, 0x1004ef281\nimul    rax, cs:qword_100BE50F0, 343FDh                                ; +0x4, 0x1004ef284\nadd     rax, 269EC3h                                                   ; +0xf, 0x1004ef28f\nmov     cs:qword_100BE50F0, rax                                        ; +0x15, 0x1004ef295\nshr     eax, 10h                                                       ; +0x1c, 0x1004ef29c\nand     eax, 7FFFh                                                     ; +0x1f, 0x1004ef29f\ncvtsi2ss xmm0, eax                                                     ; +0x24, 0x1004ef2a4\ndivss   xmm0, cs:dword_100A04C30                                       ; +0x28, 0x1004ef2a8\naddss   xmm0, xmm0                                                     ; +0x30, 0x1004ef2b0\naddss   xmm0, cs:dword_100A035E0                                       ; +0x34, 0x1004ef2b4\npop     rbp                                                            ; +0x3c, 0x1004ef2bc\nretn                                                                   ; +0x3d, 0x1004ef2bd", "xrefs": ["SpawnTriggerGameObject::triggerObject @ 0x1001b3e19"], "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"}