{"type": "func", "start": 4300141120, "end": 4300141170, "name": "GameToolbox::fast_rand_0_1", "pseudocode": "// \n// GameToolbox::fast_rand_0_1 from 0x1004ef240 to 0x1004ef272 (50 bytes)\n// \n// 10 xrefs:\n// > GJBaseGameLayer::tryGetObject @ 0x100100694\n// > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b0e\n// > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b3d\n// > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b7c\n// > GJBaseGameLayer::modifyObjectPhysics @ 0x100126bba\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x100127990\n// > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001279d9\n// > EffectGameObject::triggerObject @ 0x10019a5c2\n// > RandTriggerGameObject::getRandomGroupID @ 0x1001a3b48\n// > RandTriggerGameObject::triggerObject @ 0x1001a3cec\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_0_1()\n{\n  qword_100BE50F0 = 214013 * qword_100BE50F0 + 2531011;\n  return (float)(WORD1(qword_100BE50F0) & 0x7FFF) / 32767.0;\n}", "assembly": "; \n; GameToolbox::fast_rand_0_1 from 0x1004ef240 to 0x1004ef272 (50 bytes)\n; \n; 10 xrefs:\n; > GJBaseGameLayer::tryGetObject @ 0x100100694\n; > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b0e\n; > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b3d\n; > GJBaseGameLayer::modifyObjectPhysics @ 0x100126b7c\n; > GJBaseGameLayer::modifyObjectPhysics @ 0x100126bba\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x100127990\n; > GJBaseGameLayer::processAdvancedFollowAction @ 0x1001279d9\n; > EffectGameObject::triggerObject @ 0x10019a5c2\n; > RandTriggerGameObject::getRandomGroupID @ 0x1001a3b48\n; > RandTriggerGameObject::triggerObject @ 0x1001a3cec\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, 0x1004ef240\nmov     rbp, rsp                                                       ; +0x1, 0x1004ef241\nimul    rax, cs:qword_100BE50F0, 343FDh                                ; +0x4, 0x1004ef244\nadd     rax, 269EC3h                                                   ; +0xf, 0x1004ef24f\nmov     cs:qword_100BE50F0, rax                                        ; +0x15, 0x1004ef255\nshr     eax, 10h                                                       ; +0x1c, 0x1004ef25c\nand     eax, 7FFFh                                                     ; +0x1f, 0x1004ef25f\ncvtsi2ss xmm0, eax                                                     ; +0x24, 0x1004ef264\ndivss   xmm0, cs:dword_100A04C30                                       ; +0x28, 0x1004ef268\npop     rbp                                                            ; +0x30, 0x1004ef270\nretn                                                                   ; +0x31, 0x1004ef271", "xrefs": ["GJBaseGameLayer::tryGetObject @ 0x100100694", "GJBaseGameLayer::modifyObjectPhysics @ 0x100126b0e", "GJBaseGameLayer::modifyObjectPhysics @ 0x100126b3d", "GJBaseGameLayer::modifyObjectPhysics @ 0x100126b7c", "GJBaseGameLayer::modifyObjectPhysics @ 0x100126bba", "GJBaseGameLayer::processAdvancedFollowAction @ 0x100127990", "GJBaseGameLayer::processAdvancedFollowAction @ 0x1001279d9", "EffectGameObject::triggerObject @ 0x10019a5c2", "RandTriggerGameObject::getRandomGroupID @ 0x1001a3b48", "RandTriggerGameObject::triggerObject @ 0x1001a3cec"], "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"}