{"type": "func", "start": 5373127792, "end": 5373128076, "name": "LevelSearchLayer::confirmClearFilters", "pseudocode": "// \n// LevelSearchLayer::confirmClearFilters from 0x140436c70 to 0x140436d8c (284 bytes)\n// \n// 3 xrefs:\n// > LevelSearchLayer::init @ 0x14043481b\n// > <???> @ 0x140926dec\n// > <???> @ 0x140926df8\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:32:18 +0000\n// \n\n// Hidden C++ exception states: #wind=1\n__int64 __fastcall LevelSearchLayer::confirmClearFilters(__int64 a1)\n{\n  int v1; // ebx\n  __int64 v2; // rax\n  cocos2d::CCObject *v3; // rbx\n  __int128 v5; // [rsp+50h] [rbp-48h] BYREF\n  __int64 v6; // [rsp+60h] [rbp-38h]\n  __int64 v7; // [rsp+68h] [rbp-30h]\n  _BYTE v8[40]; // [rsp+70h] [rbp-28h] BYREF\n\n  v1 = a1 + 416;\n  if ( !a1 )\n    v1 = 0;\n  v5 = 0;\n  *(_QWORD *)&v5 = sub_14003D460(0x40u);\n  v6 = 56;\n  v7 = 63;\n  strcpy((char *)v5, \"Do you want to <cr>reset</c> all search <cy>filters</c>?\");\n  v2 = sub_14003F4F0((__int64)v8, (__int64)&v5);\n  v3 = FLAlertLayer::create(\n         v1,\n         (int)\"Clear Filters\",\n         v2,\n         (__int64)&unk_14073A058,\n         (__int64)\"YES\",\n         1133903872,\n         0,\n         0,\n         1065353216);\n  sub_14003D310((__int64)&v5);\n  (*(void (__fastcall **)(cocos2d::CCObject *, _QWORD))(*(_QWORD *)v3 + 64LL))(v3, 0);\n  return (*(__int64 (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)v3 + 1064LL))(v3);\n}", "assembly": "; \n; LevelSearchLayer::confirmClearFilters from 0x140436c70 to 0x140436d8c (284 bytes)\n; \n; 3 xrefs:\n; > LevelSearchLayer::init @ 0x14043481b\n; > <???> @ 0x140926dec\n; > <???> @ 0x140926df8\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:32:18 +0000\n; \npush    rbx                                                            ; +0x0, 0x140436c70\nsub     rsp, 90h                                                       ; +0x2, 0x140436c72\nlea     rbx, [rcx+1A0h]                                                ; +0x9, 0x140436c79\nxor     eax, eax                                                       ; +0x10, 0x140436c80\ntest    rcx, rcx                                                       ; +0x12, 0x140436c82\ncmovz   rbx, rax                                                       ; +0x15, 0x140436c85\nxorps   xmm0, xmm0                                                     ; +0x19, 0x140436c89\nmovups  [rsp+98h+var_48], xmm0                                         ; +0x1c, 0x140436c8c\nmov     [rsp+98h+var_38], rax                                          ; +0x21, 0x140436c91\nmov     [rsp+98h+var_30], rax                                          ; +0x26, 0x140436c96\nmov     ecx, 40h ; '@'                                                 ; +0x2b, 0x140436c9b\ncall    sub_14003D460                                                  ; +0x30, 0x140436ca0\nmov     qword ptr [rsp+98h+var_48], rax                                ; +0x35, 0x140436ca5\nmov     [rsp+98h+var_38], 38h ; '8'                                    ; +0x3a, 0x140436caa\nmov     [rsp+98h+var_30], 3Fh ; '?'                                    ; +0x43, 0x140436cb3\nmovups  xmm0, cs:xmmword_1407902A8                                     ; +0x4c, 0x140436cbc\nmovups  xmmword ptr [rax], xmm0                                        ; +0x53, 0x140436cc3\nmovups  xmm1, cs:xmmword_1407902B8                                     ; +0x56, 0x140436cc6\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x5d, 0x140436ccd\nmovups  xmm0, cs:xmmword_1407902C8                                     ; +0x61, 0x140436cd1\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x68, 0x140436cd8\nmovsd   xmm0, cs:qword_1407902D8                                       ; +0x6c, 0x140436cdc\nmovsd   qword ptr [rax+30h], xmm0                                      ; +0x74, 0x140436ce4\nmov     byte ptr [rax+38h], 0                                          ; +0x79, 0x140436ce9\nlea     rax, [rsp+98h+var_48]                                          ; +0x7d, 0x140436ced\nmov     [rsp+98h+arg_0], rax                                           ; +0x82, 0x140436cf2\nlea     rdx, [rsp+98h+var_48]                                          ; +0x8a, 0x140436cfa\nlea     rcx, [rsp+98h+var_28]                                          ; +0x8f, 0x140436cff\ncall    sub_14003F4F0                                                  ; +0x94, 0x140436d04\nmovss   xmm0, cs:flt_140835080                                         ; +0x99, 0x140436d09\nmovss   [rsp+98h+var_58], xmm0                                         ; +0xa1, 0x140436d11\nxorps   xmm1, xmm1                                                     ; +0xa7, 0x140436d17\nmovss   [rsp+98h+var_60], xmm1                                         ; +0xaa, 0x140436d1a\nmov     [rsp+98h+var_68], 0                                            ; +0xb0, 0x140436d20\nmovss   xmm0, cs:dword_1408359A4                                       ; +0xb5, 0x140436d25\nmovss   [rsp+98h+var_70], xmm0                                         ; +0xbd, 0x140436d2d\nlea     rcx, aYes_0; \"YES\"                                             ; +0xc3, 0x140436d33\nmov     [rsp+98h+var_78], rcx                                          ; +0xca, 0x140436d3a\nlea     r9, unk_14073A058                                              ; +0xcf, 0x140436d3f\nmov     r8, rax                                                        ; +0xd6, 0x140436d46\nlea     rdx, aClearFilters; \"Clear Filters\"                            ; +0xd9, 0x140436d49\nmov     rcx, rbx                                                       ; +0xe0, 0x140436d50\ncall    FLAlertLayer__create                                           ; +0xe3, 0x140436d53\nmov     rbx, rax                                                       ; +0xe8, 0x140436d58\nlea     rcx, [rsp+98h+var_48]                                          ; +0xeb, 0x140436d5b\ncall    sub_14003D310                                                  ; +0xf0, 0x140436d60\nmov     rcx, [rbx]                                                     ; +0xf5, 0x140436d65\nmov     r8, [rcx+40h]                                                  ; +0xf8, 0x140436d68\nxor     edx, edx                                                       ; +0xfc, 0x140436d6c\nmov     rcx, rbx                                                       ; +0xfe, 0x140436d6e\ncall    r8                                                             ; +0x101, 0x140436d71\nmov     rcx, [rbx]                                                     ; +0x104, 0x140436d74\nmov     rdx, [rcx+428h]                                                ; +0x107, 0x140436d77\nmov     rcx, rbx                                                       ; +0x10e, 0x140436d7e\ncall    rdx                                                            ; +0x111, 0x140436d81\nadd     rsp, 90h                                                       ; +0x113, 0x140436d83\npop     rbx                                                            ; +0x11a, 0x140436d8a\nretn                                                                   ; +0x11b, 0x140436d8b", "xrefs": ["LevelSearchLayer::init @ 0x14043481b", "<???> @ 0x140926dec", "<???> @ 0x140926df8"], "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"}