{"type": "func", "start": 5371653792, "end": 5371653979, "name": "LevelBrowserLayer::setTextPopupClosed", "pseudocode": "// \n// LevelBrowserLayer::setTextPopupClosed from 0x1402ceea0 to 0x1402cef5b (187 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x140585278\n// > <???> @ 0x14058a1b0\n// > <???> @ 0x1406d2e04\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=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-40h] BYREF\n  __int64 v10; // [rsp+48h] [rbp-20h]\n\n  v10 = a3;\n  if ( *(_QWORD *)(a1 + 96) )\n  {\n    v5 = sub_14003BDB0((__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_14003CCE0(v7, v8, *(_QWORD *)(v5 + 16));\n    }\n    sub_14003A830(v6);\n    *(_DWORD *)(*(_QWORD *)(a1 + 96) + 424LL) = 0;\n    LevelBrowserLayer::loadPage((LevelBrowserLayer *)(a1 - 568), *(GJSearchObject **)(a1 + 96));\n  }\n  sub_14003A830(a3);\n}", "assembly": "; \n; LevelBrowserLayer::setTextPopupClosed from 0x1402ceea0 to 0x1402cef5b (187 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x140585278\n; > <???> @ 0x14058a1b0\n; > <???> @ 0x1406d2e04\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_8], rbx                                               ; +0x0, 0x1402ceea0\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x1402ceea5\npush    rdi                                                            ; +0xa, 0x1402ceeaa\nsub     rsp, 60h                                                       ; +0xb, 0x1402ceeab\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1402ceeaf\nxor     rax, rsp                                                       ; +0x16, 0x1402ceeb6\nmov     [rsp+68h+var_18], rax                                          ; +0x19, 0x1402ceeb9\nmov     rdi, r8                                                        ; +0x1e, 0x1402ceebe\nmov     rsi, rcx                                                       ; +0x21, 0x1402ceec1\nmov     [rsp+68h+var_20], r8                                           ; +0x24, 0x1402ceec4\ncmp     qword ptr [rcx+60h], 0                                         ; +0x29, 0x1402ceec9\njz      short loc_1402CEF33                                            ; +0x2e, 0x1402ceece\nmov     rdx, r8                                                        ; +0x30, 0x1402ceed0\nlea     rcx, [rsp+68h+var_40]                                          ; +0x33, 0x1402ceed3\ncall    sub_14003BDB0                                                  ; +0x38, 0x1402ceed8\nmov     rbx, rax                                                       ; +0x3d, 0x1402ceedd\nmov     [rsp+68h+var_48], rax                                          ; +0x40, 0x1402ceee0\nmov     rcx, [rsi+60h]                                                 ; +0x45, 0x1402ceee5\nadd     rcx, 148h; void *                                              ; +0x49, 0x1402ceee9\ncmp     rcx, rax                                                       ; +0x50, 0x1402ceef0\njz      short loc_1402CEF0C                                            ; +0x53, 0x1402ceef3\nmov     rdx, rax                                                       ; +0x55, 0x1402ceef5\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x58, 0x1402ceef8\njbe     short loc_1402CEF02                                            ; +0x5d, 0x1402ceefd\nmov     rdx, [rax]; Src                                                ; +0x5f, 0x1402ceeff\nmov     r8, [rax+10h]; Size                                            ; +0x62, 0x1402cef02\ncall    sub_14003CCE0                                                  ; +0x66, 0x1402cef06\nnop                                                                    ; +0x6b, 0x1402cef0b\nmov     rcx, rbx                                                       ; +0x6c, 0x1402cef0c\ncall    sub_14003A830                                                  ; +0x6f, 0x1402cef0f\nmov     rax, [rsi+60h]                                                 ; +0x74, 0x1402cef14\nmov     dword ptr [rax+1A8h], 0                                        ; +0x78, 0x1402cef18\nlea     rcx, [rsi-238h]                                                ; +0x82, 0x1402cef22\nmov     rdx, [rsi+60h]                                                 ; +0x89, 0x1402cef29\ncall    LevelBrowserLayer__loadPage                                    ; +0x8d, 0x1402cef2d\nnop                                                                    ; +0x92, 0x1402cef32\nmov     rcx, rdi                                                       ; +0x93, 0x1402cef33\ncall    sub_14003A830                                                  ; +0x96, 0x1402cef36\nmov     rcx, [rsp+68h+var_18]                                          ; +0x9b, 0x1402cef3b\nxor     rcx, rsp; StackCookie                                          ; +0xa0, 0x1402cef40\ncall    __security_check_cookie                                        ; +0xa3, 0x1402cef43\nmov     rbx, [rsp+68h+arg_8]                                           ; +0xa8, 0x1402cef48\nmov     rsi, [rsp+68h+arg_18]                                          ; +0xad, 0x1402cef4d\nadd     rsp, 60h                                                       ; +0xb5, 0x1402cef55\npop     rdi                                                            ; +0xb9, 0x1402cef59\nretn                                                                   ; +0xba, 0x1402cef5a", "xrefs": ["<???> @ 0x140585278", "<???> @ 0x14058a1b0", "<???> @ 0x1406d2e04"], "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"}