{"type": "func", "start": 4295253280, "end": 4295253348, "name": "GameToolbox::fast_rand_minus1_1", "pseudocode": "// \n// GameToolbox::fast_rand_minus1_1 from 0x100045d20 to 0x100045d64 (68 bytes)\n// \n// 1 xrefs:\n// > SpawnTriggerGameObject::triggerObject @ 0x10038ec30\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_10086A7E0 = 214013 * qword_10086A7E0 + 2531011;\n  return (float)((float)((float)(((unsigned __int64)qword_10086A7E0 >> 16) & 0x7FFF) / 32767.0) * 2.0) + -1.0;\n}", "assembly": "; \n; GameToolbox::fast_rand_minus1_1 from 0x100045d20 to 0x100045d64 (68 bytes)\n; \n; 1 xrefs:\n; > SpawnTriggerGameObject::triggerObject @ 0x10038ec30\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\nADRP            X8, #qword_10086A7E0@PAGE                              ; +0x0, 0x100045d20\nLDR             X9, [X8,#qword_10086A7E0@PAGEOFF]                      ; +0x4, 0x100045d24\nMOV             W10, #0x343FD                                          ; +0x8, 0x100045d28\nMOV             W11, #0x269EC3                                         ; +0x10, 0x100045d30\nMADD            X9, X9, X10, X11                                       ; +0x18, 0x100045d38\nSTR             X9, [X8,#qword_10086A7E0@PAGEOFF]                      ; +0x1c, 0x100045d3c\nUBFX            X8, X9, #0x10, #0xF                                    ; +0x20, 0x100045d40\nUCVTF           S0, X8                                                 ; +0x24, 0x100045d44\nADRP            X8, #dword_100635A20@PAGE                              ; +0x28, 0x100045d48\nLDR             S1, [X8,#dword_100635A20@PAGEOFF]                      ; +0x2c, 0x100045d4c\nFDIV            S0, S0, S1                                             ; +0x30, 0x100045d50\nFMOV            S1, #-1.0                                              ; +0x34, 0x100045d54\nFMOV            S2, #2.0                                               ; +0x38, 0x100045d58\nFMADD           S0, S0, S2, S1                                         ; +0x3c, 0x100045d5c\nRET                                                                    ; +0x40, 0x100045d60", "xrefs": ["SpawnTriggerGameObject::triggerObject @ 0x10038ec30"], "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"}