{"type": "func", "start": 4301147744, "end": 4301147840, "name": "CustomSFXWidget::FLAlert_Clicked", "pseudocode": "// \n// CustomSFXWidget::FLAlert_Clicked from 0x1005e4e60 to 0x1005e4ec0 (96 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x100977078\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 CustomSFXWidget::FLAlert_Clicked(CustomSFXWidget *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 == 3 )\n  {\n    if ( a3 )\n      CustomSFXWidget::deleteSFX(a1);\n  }\n  else if ( v4 == 1 && a3 )\n  {\n    v5 = GameManager::sharedState();\n    GameManager::setGameVariable(v5, \"0016\", 1);\n    CustomSFXWidget::onDownload(a1, (cocos2d::CCObject *)\"0016\");\n  }\n}", "assembly": "; \n; CustomSFXWidget::FLAlert_Clicked from 0x1005e4e60 to 0x1005e4ec0 (96 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x100977078\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, 0x1005e4e60\nmov     rbp, rsp                                                       ; +0x1, 0x1005e4e61\npush    r14                                                            ; +0x4, 0x1005e4e64\npush    rbx                                                            ; +0x6, 0x1005e4e66\nmov     r14d, edx                                                      ; +0x7, 0x1005e4e67\nmov     rbx, rdi                                                       ; +0xa, 0x1005e4e6a\nmov     rax, [rsi]                                                     ; +0xd, 0x1005e4e6d\nmov     rdi, rsi                                                       ; +0x10, 0x1005e4e70\ncall    qword ptr [rax+40h]                                            ; +0x13, 0x1005e4e73\ncmp     eax, 3                                                         ; +0x16, 0x1005e4e76\njz      short loc_1005E4EAA                                            ; +0x19, 0x1005e4e79\ncmp     eax, 1                                                         ; +0x1b, 0x1005e4e7b\njnz     short loc_1005E4EBB                                            ; +0x1e, 0x1005e4e7e\ntest    r14b, r14b                                                     ; +0x20, 0x1005e4e80\njz      short loc_1005E4EBB                                            ; +0x23, 0x1005e4e83\ncall    GameManager__sharedState                                       ; +0x25, 0x1005e4e85\nlea     rsi, a0016; \"0016\"                                             ; +0x2a, 0x1005e4e8a\nmov     rdi, rax                                                       ; +0x31, 0x1005e4e91\nmov     edx, 1                                                         ; +0x34, 0x1005e4e94\ncall    GameManager__setGameVariable                                   ; +0x39, 0x1005e4e99\nmov     rdi, rbx                                                       ; +0x3e, 0x1005e4e9e\npop     rbx                                                            ; +0x41, 0x1005e4ea1\npop     r14                                                            ; +0x42, 0x1005e4ea2\npop     rbp                                                            ; +0x44, 0x1005e4ea4\njmp     CustomSFXWidget__onDownload                                    ; +0x45, 0x1005e4ea5\ntest    r14b, r14b                                                     ; +0x4a, 0x1005e4eaa\njz      short loc_1005E4EBB                                            ; +0x4d, 0x1005e4ead\nmov     rdi, rbx                                                       ; +0x4f, 0x1005e4eaf\npop     rbx                                                            ; +0x52, 0x1005e4eb2\npop     r14                                                            ; +0x53, 0x1005e4eb3\npop     rbp                                                            ; +0x55, 0x1005e4eb5\njmp     CustomSFXWidget__deleteSFX                                     ; +0x56, 0x1005e4eb6\npop     rbx                                                            ; +0x5b, 0x1005e4ebb\npop     r14                                                            ; +0x5c, 0x1005e4ebc\npop     rbp                                                            ; +0x5e, 0x1005e4ebe\nretn                                                                   ; +0x5f, 0x1005e4ebf", "xrefs": ["<???> @ 0x100977078"], "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"}