{"type": "func", "start": 4300401648, "end": 4300401716, "name": "GJGameLevel::setNormalPercent", "pseudocode": "// \n// GJGameLevel::setNormalPercent from 0x10052ebf0 to 0x10052ec34 (68 bytes)\n// \n// 0 xrefs:\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\nvoid __fastcall GJGameLevel::setNormalPercent(GJGameLevel *a1, int a2)\n{\n  float v2; // xmm0_4\n\n  a1->m_normalPercent.value = a2;\n  v2 = (float)((float)rand() * 4.6566129e-10) * 1000.0;\n  a1->m_normalPercent.seed = (int)v2;\n  a1->m_normalPercent.random = a2 + (int)v2;\n}", "assembly": "; \n; GJGameLevel::setNormalPercent from 0x10052ebf0 to 0x10052ec34 (68 bytes)\n; \n; 0 xrefs:\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, 0x10052ebf0\nmov     rbp, rsp                                                       ; +0x1, 0x10052ebf1\npush    r14                                                            ; +0x4, 0x10052ebf4\npush    rbx                                                            ; +0x6, 0x10052ebf6\nmov     ebx, esi                                                       ; +0x7, 0x10052ebf7\nmov     r14, rdi                                                       ; +0x9, 0x10052ebf9\nmov     [rdi+2E0h], esi                                                ; +0xc, 0x10052ebfc\ncall    _rand                                                          ; +0x12, 0x10052ec02\ncvtsi2ss xmm0, eax                                                     ; +0x17, 0x10052ec07\nmulss   xmm0, cs:dword_100815710                                       ; +0x1b, 0x10052ec0b\nmulss   xmm0, cs:dword_1008152B8                                       ; +0x23, 0x10052ec13\ncvttss2si eax, xmm0                                                    ; +0x2b, 0x10052ec1b\nmov     [r14+2E4h], eax                                                ; +0x2f, 0x10052ec1f\nadd     eax, ebx                                                       ; +0x36, 0x10052ec26\nmov     [r14+2E8h], eax                                                ; +0x38, 0x10052ec28\npop     rbx                                                            ; +0x3f, 0x10052ec2f\npop     r14                                                            ; +0x40, 0x10052ec30\npop     rbp                                                            ; +0x42, 0x10052ec32\nretn                                                                   ; +0x43, 0x10052ec33", "xrefs": [], "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"}