{"type": "func", "start": 4302014992, "end": 4302015088, "name": "CustomSFXWidget::FLAlert_Clicked", "pseudocode": "// \n// CustomSFXWidget::FLAlert_Clicked from 0x1006b8a10 to 0x1006b8a70 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100b89cf8\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\nvoid __fastcall CustomSFXWidget::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 == 3 )\n  {\n    if ( a3 )\n      CustomSFXWidget::deleteSFX(a1);\n  }\n  else if ( v4 == 1 )\n  {\n    if ( a3 )\n    {\n      v5 = GameManager::sharedState();\n      GameManager::setGameVariable(v5, \"0016\");\n      CustomSFXWidget::onDownload(a1);\n    }\n  }\n}", "assembly": "; \n; CustomSFXWidget::FLAlert_Clicked from 0x1006b8a10 to 0x1006b8a70 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100b89cf8\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, 0x1006b8a10\nmov     rbp, rsp                                                       ; +0x1, 0x1006b8a11\npush    r14                                                            ; +0x4, 0x1006b8a14\npush    rbx                                                            ; +0x6, 0x1006b8a16\nmov     r14d, edx                                                      ; +0x7, 0x1006b8a17\nmov     rbx, rdi                                                       ; +0xa, 0x1006b8a1a\nmov     rax, [rsi]                                                     ; +0xd, 0x1006b8a1d\nmov     rdi, rsi                                                       ; +0x10, 0x1006b8a20\ncall    qword ptr [rax+40h]                                            ; +0x13, 0x1006b8a23\ncmp     eax, 3                                                         ; +0x16, 0x1006b8a26\njz      short loc_1006B8A5A                                            ; +0x19, 0x1006b8a29\ncmp     eax, 1                                                         ; +0x1b, 0x1006b8a2b\njnz     short loc_1006B8A6B                                            ; +0x1e, 0x1006b8a2e\ntest    r14b, r14b                                                     ; +0x20, 0x1006b8a30\njz      short loc_1006B8A6B                                            ; +0x23, 0x1006b8a33\ncall    GameManager__sharedState                                       ; +0x25, 0x1006b8a35\nlea     rsi, a0016; \"0016\"                                             ; +0x2a, 0x1006b8a3a\nmov     rdi, rax                                                       ; +0x31, 0x1006b8a41\nmov     edx, 1                                                         ; +0x34, 0x1006b8a44\ncall    GameManager__setGameVariable                                   ; +0x39, 0x1006b8a49\nmov     rdi, rbx                                                       ; +0x3e, 0x1006b8a4e\npop     rbx                                                            ; +0x41, 0x1006b8a51\npop     r14                                                            ; +0x42, 0x1006b8a52\npop     rbp                                                            ; +0x44, 0x1006b8a54\njmp     CustomSFXWidget__onDownload                                    ; +0x45, 0x1006b8a55\ntest    r14b, r14b                                                     ; +0x4a, 0x1006b8a5a\njz      short loc_1006B8A6B                                            ; +0x4d, 0x1006b8a5d\nmov     rdi, rbx                                                       ; +0x4f, 0x1006b8a5f\npop     rbx                                                            ; +0x52, 0x1006b8a62\npop     r14                                                            ; +0x53, 0x1006b8a63\npop     rbp                                                            ; +0x55, 0x1006b8a65\njmp     CustomSFXWidget__deleteSFX                                     ; +0x56, 0x1006b8a66\npop     rbx                                                            ; +0x5b, 0x1006b8a6b\npop     r14                                                            ; +0x5c, 0x1006b8a6c\npop     rbp                                                            ; +0x5e, 0x1006b8a6e\nretn                                                                   ; +0x5f, 0x1006b8a6f", "xrefs": ["<???> @ 0x100b89cf8"], "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"}