{"type": "func", "start": 4302285552, "end": 4302285723, "name": "CustomSongWidget::startMonitorDownload", "pseudocode": "// \n// CustomSongWidget::startMonitorDownload from 0x1006faaf0 to 0x1006fab9b (171 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:55 +0000\n// \n\n__int64 __fastcall CustomSongWidget::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  (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 456) + 344LL))(*(_QWORD *)(a1 + 456), 1);\n  cocos2d::CCNode::unschedule(a1, (__int64)CustomSongWidget::updateDownloadProgress, 0);\n  return cocos2d::CCNode::schedule_1(\n           a1,\n           (__int64)CustomSongWidget::updateDownloadProgress,\n           0,\n           COERCE_DOUBLE(1023969417));\n}", "assembly": "; \n; CustomSongWidget::startMonitorDownload from 0x1006faaf0 to 0x1006fab9b (171 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:55 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006faaf0\nmov     rbp, rsp                                                       ; +0x1, 0x1006faaf1\npush    r15                                                            ; +0x4, 0x1006faaf4\npush    r14                                                            ; +0x6, 0x1006faaf6\npush    rbx                                                            ; +0x8, 0x1006faaf8\nsub     rsp, 18h                                                       ; +0x9, 0x1006faaf9\nmov     rbx, rdi                                                       ; +0xd, 0x1006faafd\nmov     rax, [rdi+1C8h]                                                ; +0x10, 0x1006fab00\nmov     r14, [rdi+1D0h]                                                ; +0x17, 0x1006fab07\nmovss   xmm0, dword ptr [rax+1B0h]                                     ; +0x1e, 0x1006fab0e\naddss   xmm0, cs:dword_100A03FD4                                       ; +0x26, 0x1006fab16\nxorps   xmm1, xmm1                                                     ; +0x2e, 0x1006fab1e\nmovaps  xmm2, xmm0                                                     ; +0x31, 0x1006fab21\nmulss   xmm2, xmm1                                                     ; +0x34, 0x1006fab24\nminss   xmm2, xmm0                                                     ; +0x38, 0x1006fab28\nlea     r15, [rbp+var_28]                                              ; +0x3c, 0x1006fab2c\nmovss   xmm3, cs:dword_100A03D64                                       ; +0x40, 0x1006fab30\nxorps   xmm0, xmm0                                                     ; +0x48, 0x1006fab38\nmov     rdi, r15                                                       ; +0x4b, 0x1006fab3b\ncall    sub_100278270                                                  ; +0x4e, 0x1006fab3e\nmov     rax, [r14]                                                     ; +0x53, 0x1006fab43\nmov     rdi, r14                                                       ; +0x56, 0x1006fab46\nmov     rsi, r15                                                       ; +0x59, 0x1006fab49\ncall    qword ptr [rax+470h]                                           ; +0x5c, 0x1006fab4c\nmov     rdi, [rbx+1C8h]                                                ; +0x62, 0x1006fab52\nmov     rax, [rdi]                                                     ; +0x69, 0x1006fab59\nmov     esi, 1                                                         ; +0x6c, 0x1006fab5c\ncall    qword ptr [rax+158h]                                           ; +0x71, 0x1006fab61\nlea     r14, CustomSongWidget__updateDownloadProgress                  ; +0x77, 0x1006fab67\nmov     rdi, rbx                                                       ; +0x7e, 0x1006fab6e\nmov     rsi, r14                                                       ; +0x81, 0x1006fab71\nxor     edx, edx                                                       ; +0x84, 0x1006fab74\ncall    cocos2d__CCNode__unschedule                                    ; +0x86, 0x1006fab76\nmovss   xmm0, cs:dword_100A0485C                                       ; +0x8b, 0x1006fab7b\nmov     rdi, rbx                                                       ; +0x93, 0x1006fab83\nmov     rsi, r14                                                       ; +0x96, 0x1006fab86\nxor     edx, edx                                                       ; +0x99, 0x1006fab89\ncall    cocos2d__CCNode__schedule_1                                    ; +0x9b, 0x1006fab8b\nadd     rsp, 18h                                                       ; +0xa0, 0x1006fab90\npop     rbx                                                            ; +0xa4, 0x1006fab94\npop     r14                                                            ; +0xa5, 0x1006fab95\npop     r15                                                            ; +0xa7, 0x1006fab97\npop     rbp                                                            ; +0xa9, 0x1006fab99\nretn                                                                   ; +0xaa, 0x1006fab9a", "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"}