{"type": "func", "start": 4301394976, "end": 4301395072, "name": "CustomSongWidget::FLAlert_Clicked", "pseudocode": "// \n// CustomSongWidget::FLAlert_Clicked from 0x100621420 to 0x100621480 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100982288\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nvoid __fastcall CustomSongWidget::FLAlert_Clicked(CustomSongWidget *a1, FLAlertLayer *a2, bool a3)\n{\n  int v4; // eax\n  GameManager *v5; // rax\n\n  v4 = ((__int64 (__fastcall *)(FLAlertLayer *))a2->getTag)(a2);\n  if ( v4 == 2 )\n  {\n    if ( a3 )\n      CustomSongWidget::deleteSong(a1);\n  }\n  else if ( v4 == 1 && a3 )\n  {\n    v5 = GameManager::sharedState();\n    GameManager::setGameVariable(v5, \"0016\", 1);\n    CustomSongWidget::onDownload(a1, (cocos2d::CCObject *)\"0016\");\n  }\n}", "assembly": "; \n; CustomSongWidget::FLAlert_Clicked from 0x100621420 to 0x100621480 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100982288\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100621420\nmov     rbp, rsp                                                       ; +0x1, 0x100621421\npush    r14                                                            ; +0x4, 0x100621424\npush    rbx                                                            ; +0x6, 0x100621426\nmov     r14d, edx                                                      ; +0x7, 0x100621427\nmov     rbx, rdi                                                       ; +0xa, 0x10062142a\nmov     rax, [rsi]                                                     ; +0xd, 0x10062142d\nmov     rdi, rsi                                                       ; +0x10, 0x100621430\ncall    qword ptr [rax+40h]                                            ; +0x13, 0x100621433\ncmp     eax, 2                                                         ; +0x16, 0x100621436\njz      short loc_10062146A                                            ; +0x19, 0x100621439\ncmp     eax, 1                                                         ; +0x1b, 0x10062143b\njnz     short loc_10062147B                                            ; +0x1e, 0x10062143e\ntest    r14b, r14b                                                     ; +0x20, 0x100621440\njz      short loc_10062147B                                            ; +0x23, 0x100621443\ncall    GameManager__sharedState                                       ; +0x25, 0x100621445\nlea     rsi, a0016; \"0016\"                                             ; +0x2a, 0x10062144a\nmov     rdi, rax                                                       ; +0x31, 0x100621451\nmov     edx, 1                                                         ; +0x34, 0x100621454\ncall    GameManager__setGameVariable                                   ; +0x39, 0x100621459\nmov     rdi, rbx                                                       ; +0x3e, 0x10062145e\npop     rbx                                                            ; +0x41, 0x100621461\npop     r14                                                            ; +0x42, 0x100621462\npop     rbp                                                            ; +0x44, 0x100621464\njmp     CustomSongWidget__onDownload                                   ; +0x45, 0x100621465\ntest    r14b, r14b                                                     ; +0x4a, 0x10062146a\njz      short loc_10062147B                                            ; +0x4d, 0x10062146d\nmov     rdi, rbx                                                       ; +0x4f, 0x10062146f\npop     rbx                                                            ; +0x52, 0x100621472\npop     r14                                                            ; +0x53, 0x100621473\npop     rbp                                                            ; +0x55, 0x100621475\njmp     CustomSongWidget__deleteSong                                   ; +0x56, 0x100621476\npop     rbx                                                            ; +0x5b, 0x10062147b\npop     r14                                                            ; +0x5c, 0x10062147c\npop     rbp                                                            ; +0x5e, 0x10062147e\nretn                                                                   ; +0x5f, 0x10062147f", "xrefs": ["<???> @ 0x100982288"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}