{"type": "func", "start": 4302012544, "end": 4302012702, "name": "CustomSFXWidget::startMonitorDownload", "pseudocode": "// \n// CustomSFXWidget::startMonitorDownload from 0x1006b8080 to 0x1006b811e (158 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::startMonitorDownload(__int64 a1)\n{\n  __int64 v1; // r14\n  __m128 v2; // xmm0\n  __m128 v3; // xmm2\n  _BYTE v5[40]; // [rsp+8h] [rbp-28h] BYREF\n\n  v1 = *(_QWORD *)(a1 + 464);\n  v2 = (__m128)*(unsigned int *)(*(_QWORD *)(a1 + 456) + 432LL);\n  v2.f32[0] = v2.f32[0] + -4.0;\n  v3 = v2;\n  v3.f32[0] = fminf(v2.f32[0] * 0.0, v2.f32[0]);\n  sub_100278270((__int64)v5, 0.0, 0.0, v3, (__m128)0x41000000u);\n  (*(void (__fastcall **)(__int64, _BYTE *))(*(_QWORD *)v1 + 1136LL))(v1, v5);\n  CustomSFXWidget::showLoadingArt(a1);\n  cocos2d::CCNode::unschedule(a1, (__int64)CustomSFXWidget::updateDownloadProgress, 0);\n  return cocos2d::CCNode::schedule_1(a1, (__int64)CustomSFXWidget::updateDownloadProgress, 0, COERCE_DOUBLE(1023969417));\n}", "assembly": "; \n; CustomSFXWidget::startMonitorDownload from 0x1006b8080 to 0x1006b811e (158 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, 0x1006b8080\nmov     rbp, rsp                                                       ; +0x1, 0x1006b8081\npush    r15                                                            ; +0x4, 0x1006b8084\npush    r14                                                            ; +0x6, 0x1006b8086\npush    rbx                                                            ; +0x8, 0x1006b8088\nsub     rsp, 18h                                                       ; +0x9, 0x1006b8089\nmov     rbx, rdi                                                       ; +0xd, 0x1006b808d\nmov     rax, [rdi+1C8h]                                                ; +0x10, 0x1006b8090\nmov     r14, [rdi+1D0h]                                                ; +0x17, 0x1006b8097\nmovss   xmm0, dword ptr [rax+1B0h]                                     ; +0x1e, 0x1006b809e\naddss   xmm0, cs:dword_100A03FD4                                       ; +0x26, 0x1006b80a6\nxorps   xmm1, xmm1                                                     ; +0x2e, 0x1006b80ae\nmovaps  xmm2, xmm0                                                     ; +0x31, 0x1006b80b1\nmulss   xmm2, xmm1                                                     ; +0x34, 0x1006b80b4\nminss   xmm2, xmm0                                                     ; +0x38, 0x1006b80b8\nlea     r15, [rbp+var_28]                                              ; +0x3c, 0x1006b80bc\nmovss   xmm3, cs:dword_100A03D64                                       ; +0x40, 0x1006b80c0\nxorps   xmm0, xmm0                                                     ; +0x48, 0x1006b80c8\nmov     rdi, r15                                                       ; +0x4b, 0x1006b80cb\ncall    sub_100278270                                                  ; +0x4e, 0x1006b80ce\nmov     rax, [r14]                                                     ; +0x53, 0x1006b80d3\nmov     rdi, r14                                                       ; +0x56, 0x1006b80d6\nmov     rsi, r15                                                       ; +0x59, 0x1006b80d9\ncall    qword ptr [rax+470h]                                           ; +0x5c, 0x1006b80dc\nmov     rdi, rbx                                                       ; +0x62, 0x1006b80e2\ncall    CustomSFXWidget__showLoadingArt                                ; +0x65, 0x1006b80e5\nlea     r14, CustomSFXWidget__updateDownloadProgress                   ; +0x6a, 0x1006b80ea\nmov     rdi, rbx                                                       ; +0x71, 0x1006b80f1\nmov     rsi, r14                                                       ; +0x74, 0x1006b80f4\nxor     edx, edx                                                       ; +0x77, 0x1006b80f7\ncall    cocos2d__CCNode__unschedule                                    ; +0x79, 0x1006b80f9\nmovss   xmm0, cs:dword_100A0485C                                       ; +0x7e, 0x1006b80fe\nmov     rdi, rbx                                                       ; +0x86, 0x1006b8106\nmov     rsi, r14                                                       ; +0x89, 0x1006b8109\nxor     edx, edx                                                       ; +0x8c, 0x1006b810c\ncall    cocos2d__CCNode__schedule_1                                    ; +0x8e, 0x1006b810e\nadd     rsp, 18h                                                       ; +0x93, 0x1006b8113\npop     rbx                                                            ; +0x97, 0x1006b8117\npop     r14                                                            ; +0x98, 0x1006b8118\npop     r15                                                            ; +0x9a, 0x1006b811a\npop     rbp                                                            ; +0x9c, 0x1006b811c\nretn                                                                   ; +0x9d, 0x1006b811d", "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"}