{"type": "func", "start": 5369527552, "end": 5369527684, "name": "SongSelectNode::FLAlert_Clicked", "pseudocode": "// \n// SongSelectNode::FLAlert_Clicked from 0x1400c7d00 to 0x1400c7d84 (132 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14054d3a8\n// > <???> @ 0x1406c8238\n// > <???> @ 0x1406c8244\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\n// Hidden C++ exception states: #wind=1\nvoid SongSelectNode::FLAlert_Clicked(SongSelectNode *a1, FLAlertLayer *a2, bool a3)\n{\n  GameManager *v5; // rcx\n  void *v6; // [rsp+38h] [rbp+10h]\n\n  if ( a2->getTag(a2) == 1 && a3 )\n  {\n    v5 = (GameManager *)qword_1406C2ED8;\n    if ( !qword_1406C2ED8 )\n    {\n      v6 = operator new(0x668u);\n      qword_1406C2ED8 = sub_14017AB00(v6);\n      (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8);\n      v5 = (GameManager *)qword_1406C2ED8;\n    }\n    GameManager::setGameVariable(v5, \"0016\", 1);\n    SongSelectNode::showCustomSongSelect((SongSelectNode *)((char *)a1 - 320));\n  }\n}", "assembly": "; \n; SongSelectNode::FLAlert_Clicked from 0x1400c7d00 to 0x1400c7d84 (132 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14054d3a8\n; > <???> @ 0x1406c8238\n; > <???> @ 0x1406c8244\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400c7d00\npush    rdi                                                            ; +0x5, 0x1400c7d05\nsub     rsp, 20h                                                       ; +0x6, 0x1400c7d06\nmovzx   ebx, r8b                                                       ; +0xa, 0x1400c7d0a\nmov     rdi, rcx                                                       ; +0xe, 0x1400c7d0e\nmov     rax, [rdx]                                                     ; +0x11, 0x1400c7d11\nmov     rcx, rdx                                                       ; +0x14, 0x1400c7d14\ncall    qword ptr [rax+38h]                                            ; +0x17, 0x1400c7d17\ncmp     eax, 1                                                         ; +0x1a, 0x1400c7d1a\njnz     short loc_1400C7D79                                            ; +0x1d, 0x1400c7d1d\ntest    bl, bl                                                         ; +0x1f, 0x1400c7d1f\njz      short loc_1400C7D79                                            ; +0x21, 0x1400c7d21\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x23, 0x1400c7d23\ntest    rcx, rcx                                                       ; +0x2a, 0x1400c7d2a\njnz     short loc_1400C7D5E                                            ; +0x2d, 0x1400c7d2d\nmov     ecx, 668h; Size                                                ; +0x2f, 0x1400c7d2f\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x34, 0x1400c7d34\nmov     [rsp+28h+arg_8], rax                                           ; +0x39, 0x1400c7d39\nmov     rcx, rax                                                       ; +0x3e, 0x1400c7d3e\ncall    sub_14017AB00                                                  ; +0x41, 0x1400c7d41\nnop                                                                    ; +0x46, 0x1400c7d46\nmov     cs:qword_1406C2ED8, rax                                        ; +0x47, 0x1400c7d47\nmov     rdx, [rax]                                                     ; +0x4e, 0x1400c7d4e\nmov     rcx, rax                                                       ; +0x51, 0x1400c7d51\ncall    qword ptr [rdx+48h]                                            ; +0x54, 0x1400c7d54\nmov     rcx, cs:qword_1406C2ED8                                        ; +0x57, 0x1400c7d57\nmov     r8b, 1                                                         ; +0x5e, 0x1400c7d5e\nlea     rdx, a0016; \"0016\"                                             ; +0x61, 0x1400c7d61\ncall    GameManager__setGameVariable                                   ; +0x68, 0x1400c7d68\nlea     rcx, [rdi-140h]                                                ; +0x6d, 0x1400c7d6d\ncall    SongSelectNode__showCustomSongSelect                           ; +0x74, 0x1400c7d74\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x79, 0x1400c7d79\nadd     rsp, 20h                                                       ; +0x7e, 0x1400c7d7e\npop     rdi                                                            ; +0x82, 0x1400c7d82\nretn                                                                   ; +0x83, 0x1400c7d83", "xrefs": ["<???> @ 0x14054d3a8", "<???> @ 0x1406c8238", "<???> @ 0x1406c8244"], "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"}