{"type": "func", "start": 5372809472, "end": 5372809653, "name": "LevelBrowserLayer::setTextPopupClosed", "pseudocode": "// \n// LevelBrowserLayer::setTextPopupClosed from 0x1403e9100 to 0x1403e91b5 (181 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x14078a010\n// > <???> @ 0x14078f8c0\n// > <???> @ 0x140925058\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 11:31:44 +0000\n// \n\n// Hidden C++ exception states: #wind=2\nvoid __fastcall LevelBrowserLayer::setTextPopupClosed(__int64 a1, __int64 a2, __int64 a3)\n{\n  __int64 v5; // rax\n  __int64 v6; // rbx\n  void **v7; // rcx\n  void *v8; // rdx\n  _BYTE v9[32]; // [rsp+28h] [rbp-50h] BYREF\n  __int64 v10; // [rsp+48h] [rbp-30h]\n\n  v10 = a3;\n  if ( *(_QWORD *)(a1 + 96) )\n  {\n    v5 = sub_14003F4F0((__int64)v9, a3);\n    v6 = v5;\n    v7 = (void **)(*(_QWORD *)(a1 + 96) + 328LL);\n    if ( v7 != (void **)v5 )\n    {\n      v8 = (void *)v5;\n      if ( *(_QWORD *)(v5 + 24) > 0xFu )\n        v8 = *(void **)v5;\n      sub_1400405A0(v7, v8, *(_QWORD *)(v5 + 16));\n    }\n    sub_14003D310(v6);\n    *(_DWORD *)(*(_QWORD *)(a1 + 96) + 424LL) = 0;\n    LevelBrowserLayer::loadPage(a1 - 568, *(int **)(a1 + 96));\n  }\n  sub_14003D310(a3);\n}", "assembly": "; \n; LevelBrowserLayer::setTextPopupClosed from 0x1403e9100 to 0x1403e91b5 (181 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x14078a010\n; > <???> @ 0x14078f8c0\n; > <???> @ 0x140925058\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 11:31:44 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1403e9100\npush    rbp                                                            ; +0x5, 0x1403e9105\npush    rsi                                                            ; +0x6, 0x1403e9106\npush    rdi                                                            ; +0x7, 0x1403e9107\nsub     rsp, 60h                                                       ; +0x8, 0x1403e9108\nmov     rax, cs:__security_cookie                                      ; +0xc, 0x1403e910c\nxor     rax, rsp                                                       ; +0x13, 0x1403e9113\nmov     [rsp+78h+var_28], rax                                          ; +0x16, 0x1403e9116\nmov     rdi, r8                                                        ; +0x1b, 0x1403e911b\nmov     rsi, rcx                                                       ; +0x1e, 0x1403e911e\nmov     [rsp+78h+var_30], r8                                           ; +0x21, 0x1403e9121\ncmp     qword ptr [rcx+60h], 0                                         ; +0x26, 0x1403e9126\njz      short loc_1403E9190                                            ; +0x2b, 0x1403e912b\nmov     rdx, r8                                                        ; +0x2d, 0x1403e912d\nlea     rcx, [rsp+78h+var_50]                                          ; +0x30, 0x1403e9130\ncall    sub_14003F4F0                                                  ; +0x35, 0x1403e9135\nmov     rbx, rax                                                       ; +0x3a, 0x1403e913a\nmov     [rsp+78h+var_58], rax                                          ; +0x3d, 0x1403e913d\nmov     rcx, [rsi+60h]                                                 ; +0x42, 0x1403e9142\nadd     rcx, 148h; void *                                              ; +0x46, 0x1403e9146\ncmp     rcx, rax                                                       ; +0x4d, 0x1403e914d\njz      short loc_1403E9169                                            ; +0x50, 0x1403e9150\nmov     rdx, rax                                                       ; +0x52, 0x1403e9152\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x55, 0x1403e9155\njbe     short loc_1403E915F                                            ; +0x5a, 0x1403e915a\nmov     rdx, [rax]; Src                                                ; +0x5c, 0x1403e915c\nmov     r8, [rax+10h]; Size                                            ; +0x5f, 0x1403e915f\ncall    sub_1400405A0                                                  ; +0x63, 0x1403e9163\nnop                                                                    ; +0x68, 0x1403e9168\nmov     rcx, rbx                                                       ; +0x69, 0x1403e9169\ncall    sub_14003D310                                                  ; +0x6c, 0x1403e916c\nmov     rax, [rsi+60h]                                                 ; +0x71, 0x1403e9171\nmov     dword ptr [rax+1A8h], 0                                        ; +0x75, 0x1403e9175\nmov     rdx, [rsi+60h]                                                 ; +0x7f, 0x1403e917f\nlea     rcx, [rsi-238h]                                                ; +0x83, 0x1403e9183\ncall    LevelBrowserLayer__loadPage                                    ; +0x8a, 0x1403e918a\nnop                                                                    ; +0x8f, 0x1403e918f\nmov     rcx, rdi                                                       ; +0x90, 0x1403e9190\ncall    sub_14003D310                                                  ; +0x93, 0x1403e9193\nmov     rcx, [rsp+78h+var_28]                                          ; +0x98, 0x1403e9198\nxor     rcx, rsp; StackCookie                                          ; +0x9d, 0x1403e919d\ncall    __security_check_cookie                                        ; +0xa0, 0x1403e91a0\nmov     rbx, [rsp+78h+arg_8]                                           ; +0xa5, 0x1403e91a5\nadd     rsp, 60h                                                       ; +0xad, 0x1403e91ad\npop     rdi                                                            ; +0xb1, 0x1403e91b1\npop     rsi                                                            ; +0xb2, 0x1403e91b2\npop     rbp                                                            ; +0xb3, 0x1403e91b3\nretn                                                                   ; +0xb4, 0x1403e91b4", "xrefs": ["<???> @ 0x14078a010", "<???> @ 0x14078f8c0", "<???> @ 0x140925058"], "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"}