{"type": "func", "start": 4302009344, "end": 4302009462, "name": "CustomSFXWidget::updateProgressBar", "pseudocode": "// \n// CustomSFXWidget::updateProgressBar from 0x1006b7400 to 0x1006b7476 (118 bytes)\n// \n// 0 xrefs:\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:35:28 +0000\n// \n\n__int64 __fastcall CustomSFXWidget::updateProgressBar(__int64 a1, int a2, double a3, double a4, __m128 a5)\n{\n  int v5; // eax\n  __int64 v6; // rbx\n  _BYTE v8[32]; // [rsp+0h] [rbp-20h] BYREF\n\n  v5 = 0;\n  if ( a2 > 0 )\n    v5 = a2;\n  v6 = *(_QWORD *)(a1 + 464);\n  a5.f32[0] = fminf(\n                (float)((float)v5 / 100.0) * (float)(*(float *)(*(_QWORD *)(a1 + 456) + 432LL) + -4.0),\n                *(float *)(*(_QWORD *)(a1 + 456) + 432LL) + -4.0);\n  sub_100278270((__int64)v8, 0.0, 0.0, a5, (__m128)0x41000000u);\n  return (*(__int64 (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v6 + 1136LL))(v6, v8);\n}", "assembly": "; \n; CustomSFXWidget::updateProgressBar from 0x1006b7400 to 0x1006b7476 (118 bytes)\n; \n; 0 xrefs:\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:35:28 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006b7400\nmov     rbp, rsp                                                       ; +0x1, 0x1006b7401\npush    r14                                                            ; +0x4, 0x1006b7404\npush    rbx                                                            ; +0x6, 0x1006b7406\nsub     rsp, 10h                                                       ; +0x7, 0x1006b7407\nxor     eax, eax                                                       ; +0xb, 0x1006b740b\ntest    esi, esi                                                       ; +0xd, 0x1006b740d\ncmovg   eax, esi                                                       ; +0xf, 0x1006b740f\nmov     rcx, [rdi+1C8h]                                                ; +0x12, 0x1006b7412\nmovss   xmm0, dword ptr [rcx+1B0h]                                     ; +0x19, 0x1006b7419\naddss   xmm0, cs:dword_100A03FD4                                       ; +0x21, 0x1006b7421\nmov     rbx, [rdi+1D0h]                                                ; +0x29, 0x1006b7429\ncvtsi2ss xmm2, eax                                                     ; +0x30, 0x1006b7430\ndivss   xmm2, cs:dword_100A03584                                       ; +0x34, 0x1006b7434\nmulss   xmm2, xmm0                                                     ; +0x3c, 0x1006b743c\nminss   xmm2, xmm0                                                     ; +0x40, 0x1006b7440\nlea     r14, [rbp+var_20]                                              ; +0x44, 0x1006b7444\nmovss   xmm3, cs:dword_100A03D64                                       ; +0x48, 0x1006b7448\nxorps   xmm0, xmm0                                                     ; +0x50, 0x1006b7450\nxorps   xmm1, xmm1                                                     ; +0x53, 0x1006b7453\nmov     rdi, r14                                                       ; +0x56, 0x1006b7456\ncall    sub_100278270                                                  ; +0x59, 0x1006b7459\nmov     rax, [rbx]                                                     ; +0x5e, 0x1006b745e\nmov     rdi, rbx                                                       ; +0x61, 0x1006b7461\nmov     rsi, r14                                                       ; +0x64, 0x1006b7464\ncall    qword ptr [rax+470h]                                           ; +0x67, 0x1006b7467\nadd     rsp, 10h                                                       ; +0x6d, 0x1006b746d\npop     rbx                                                            ; +0x71, 0x1006b7471\npop     r14                                                            ; +0x72, 0x1006b7472\npop     rbp                                                            ; +0x74, 0x1006b7474\nretn                                                                   ; +0x75, 0x1006b7475", "xrefs": [], "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"}