{"type": "func", "start": 4302298016, "end": 4302298112, "name": "CustomSongWidget::FLAlert_Clicked", "pseudocode": "// \n// CustomSongWidget::FLAlert_Clicked from 0x1006fdba0 to 0x1006fdc00 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b95e08\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:57 +0000\n// \n\nvoid __fastcall CustomSongWidget::FLAlert_Clicked(__int64 a1, __int64 a2, char a3)\n{\n  int v4; // eax\n  __int64 v5; // rax\n\n  v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);\n  if ( v4 == 2 )\n  {\n    if ( a3 )\n      CustomSongWidget::deleteSong(a1);\n  }\n  else if ( v4 == 1 )\n  {\n    if ( a3 )\n    {\n      v5 = GameManager::sharedState();\n      GameManager::setGameVariable(v5, \"0016\");\n      CustomSongWidget::onDownload(a1);\n    }\n  }\n}", "assembly": "; \n; CustomSongWidget::FLAlert_Clicked from 0x1006fdba0 to 0x1006fdc00 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b95e08\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:57 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006fdba0\nmov     rbp, rsp                                                       ; +0x1, 0x1006fdba1\npush    r14                                                            ; +0x4, 0x1006fdba4\npush    rbx                                                            ; +0x6, 0x1006fdba6\nmov     r14d, edx                                                      ; +0x7, 0x1006fdba7\nmov     rbx, rdi                                                       ; +0xa, 0x1006fdbaa\nmov     rax, [rsi]                                                     ; +0xd, 0x1006fdbad\nmov     rdi, rsi                                                       ; +0x10, 0x1006fdbb0\ncall    qword ptr [rax+40h]                                            ; +0x13, 0x1006fdbb3\ncmp     eax, 2                                                         ; +0x16, 0x1006fdbb6\njz      short loc_1006FDBEA                                            ; +0x19, 0x1006fdbb9\ncmp     eax, 1                                                         ; +0x1b, 0x1006fdbbb\njnz     short loc_1006FDBFB                                            ; +0x1e, 0x1006fdbbe\ntest    r14b, r14b                                                     ; +0x20, 0x1006fdbc0\njz      short loc_1006FDBFB                                            ; +0x23, 0x1006fdbc3\ncall    GameManager__sharedState                                       ; +0x25, 0x1006fdbc5\nlea     rsi, a0016; \"0016\"                                             ; +0x2a, 0x1006fdbca\nmov     rdi, rax                                                       ; +0x31, 0x1006fdbd1\nmov     edx, 1                                                         ; +0x34, 0x1006fdbd4\ncall    GameManager__setGameVariable                                   ; +0x39, 0x1006fdbd9\nmov     rdi, rbx                                                       ; +0x3e, 0x1006fdbde\npop     rbx                                                            ; +0x41, 0x1006fdbe1\npop     r14                                                            ; +0x42, 0x1006fdbe2\npop     rbp                                                            ; +0x44, 0x1006fdbe4\njmp     CustomSongWidget__onDownload                                   ; +0x45, 0x1006fdbe5\ntest    r14b, r14b                                                     ; +0x4a, 0x1006fdbea\njz      short loc_1006FDBFB                                            ; +0x4d, 0x1006fdbed\nmov     rdi, rbx                                                       ; +0x4f, 0x1006fdbef\npop     rbx                                                            ; +0x52, 0x1006fdbf2\npop     r14                                                            ; +0x53, 0x1006fdbf3\npop     rbp                                                            ; +0x55, 0x1006fdbf5\njmp     CustomSongWidget__deleteSong                                   ; +0x56, 0x1006fdbf6\npop     rbx                                                            ; +0x5b, 0x1006fdbfb\npop     r14                                                            ; +0x5c, 0x1006fdbfc\npop     rbp                                                            ; +0x5e, 0x1006fdbfe\nretn                                                                   ; +0x5f, 0x1006fdbff", "xrefs": ["<???> @ 0x100b95e08"], "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"}