{"type": "func", "start": 5370210672, "end": 5370210711, "name": "CustomSongWidget::musicActionFinished", "pseudocode": "// \n// CustomSongWidget::musicActionFinished from 0x14016e970 to 0x14016e997 (39 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1407448e8\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 11:27:30 +0000\n// \n\n__int64 __fastcall CustomSongWidget::musicActionFinished(__int64 a1, int a2)\n{\n  __int64 result; // rax\n  __int64 v3; // rcx\n\n  result = a1;\n  if ( a2 == 2 )\n  {\n    v3 = a1 - 320;\n    if ( *(_BYTE *)(v3 + 528) )\n    {\n      *(_BYTE *)(result + 208) = 0;\n      return CustomSongWidget::onDownload(v3);\n    }\n  }\n  return result;\n}", "assembly": "; \n; CustomSongWidget::musicActionFinished from 0x14016e970 to 0x14016e997 (39 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1407448e8\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 11:27:30 +0000\n; \nmov     rax, rcx                                                       ; +0x0, 0x14016e970\ncmp     edx, 2                                                         ; +0x3, 0x14016e973\njnz     short locret_14016E996                                         ; +0x6, 0x14016e976\nadd     rcx, 0FFFFFFFFFFFFFEC0h                                        ; +0x8, 0x14016e978\ncmp     byte ptr [rcx+210h], 0                                         ; +0xf, 0x14016e97f\njz      short locret_14016E996                                         ; +0x16, 0x14016e986\nxor     edx, edx                                                       ; +0x18, 0x14016e988\nmov     byte ptr [rax+0D0h], 0                                         ; +0x1a, 0x14016e98a\njmp     CustomSongWidget__onDownload                                   ; +0x21, 0x14016e991\nretn                                                                   ; +0x26, 0x14016e996", "xrefs": ["<???> @ 0x1407448e8"], "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"}