{"type": "func", "start": 5370485184, "end": 5370485796, "name": "EditorUI::onResetSpecialFilter", "pseudocode": "// \n// EditorUI::onResetSpecialFilter from 0x1401b19c0 to 0x1401b1c24 (612 bytes)\n// \n// 3 xrefs:\n// > EditorUI::handleEditorAction @ 0x1401c3ab5\n// > EditorUI::setupDeleteMenu @ 0x1401f4fa9\n// > <???> @ 0x140919f58\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:27:56 +0000\n// \n\n// Hidden C++ exception states: #wind=3\n_UNKNOWN **__fastcall EditorUI::onResetSpecialFilter(__int64 a1)\n{\n  __int64 v2; // rbx\n  __int64 v3; // rbx\n  struct cocos2d::CCString *v4; // rax\n  void *v5; // rcx\n  __int64 v6; // rbx\n  __int64 v7; // rbx\n  struct cocos2d::CCString *v8; // rax\n  void *v9; // rcx\n  void *v11; // [rsp+30h] [rbp-38h]\n  void *v12; // [rsp+30h] [rbp-38h]\n  void *Block[2]; // [rsp+38h] [rbp-30h] BYREF\n  __int64 v14; // [rsp+48h] [rbp-20h]\n  unsigned __int64 v15; // [rsp+50h] [rbp-18h]\n\n  v2 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v11 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v11);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v2 = qword_14090BFD0;\n  }\n  *(_OWORD *)Block = 0;\n  v14 = 3;\n  v15 = 15;\n  LODWORD(Block[0]) = 6256231;\n  sub_140044D80(Block, \"0133\", 4u);\n  v3 = *(_QWORD *)(v2 + 432);\n  v4 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 0);\n  cocos2d::CCDictionary::setObject(v3, v4, Block);\n  if ( v15 > 0xF )\n  {\n    v5 = Block[0];\n    if ( v15 + 1 >= 0x1000 )\n    {\n      v5 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v5 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v5);\n  }\n  ButtonSprite::setString(*(__int64 **)(a1 + 1360), \"0\");\n  v6 = qword_14090BFD0;\n  if ( !qword_14090BFD0 )\n  {\n    v12 = operator new(0x6E8u);\n    qword_14090BFD0 = GameManager::GameManager(v12);\n    (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0);\n    v6 = qword_14090BFD0;\n  }\n  *(_OWORD *)Block = 0;\n  v14 = 3;\n  v15 = 15;\n  LODWORD(Block[0]) = 6256231;\n  sub_140044D80(Block, \"0139\", 4u);\n  v7 = *(_QWORD *)(v6 + 432);\n  v8 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, 0);\n  cocos2d::CCDictionary::setObject(v7, v8, Block);\n  if ( v15 > 0xF )\n  {\n    v9 = Block[0];\n    if ( v15 + 1 >= 0x1000 )\n    {\n      v9 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v9 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v9);\n  }\n  return ButtonSprite::setString(*(__int64 **)(a1 + 1368), \"0\");\n}", "assembly": "; \n; EditorUI::onResetSpecialFilter from 0x1401b19c0 to 0x1401b1c24 (612 bytes)\n; \n; 3 xrefs:\n; > EditorUI::handleEditorAction @ 0x1401c3ab5\n; > EditorUI::setupDeleteMenu @ 0x1401f4fa9\n; > <???> @ 0x140919f58\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:27:56 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x1401b19c0\npush    rdi                                                            ; +0x5, 0x1401b19c5\nsub     rsp, 60h                                                       ; +0x6, 0x1401b19c6\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x1401b19ca\nxor     rax, rsp                                                       ; +0x11, 0x1401b19d1\nmov     [rsp+68h+var_10], rax                                          ; +0x14, 0x1401b19d4\nmov     rdi, rcx                                                       ; +0x19, 0x1401b19d9\nmov     rbx, cs:qword_14090BFD0                                        ; +0x1c, 0x1401b19dc\ntest    rbx, rbx                                                       ; +0x23, 0x1401b19e3\njnz     short loc_1401B1A1A                                            ; +0x26, 0x1401b19e6\nmov     ecx, 6E8h; Size                                                ; +0x28, 0x1401b19e8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2d, 0x1401b19ed\nmov     [rsp+68h+var_38], rax                                          ; +0x32, 0x1401b19f2\nmov     rcx, rax                                                       ; +0x37, 0x1401b19f7\ncall    GameManager__GameManager                                       ; +0x3a, 0x1401b19fa\nnop                                                                    ; +0x3f, 0x1401b19ff\nmov     cs:qword_14090BFD0, rax                                        ; +0x40, 0x1401b1a00\nmov     rcx, [rax]                                                     ; +0x47, 0x1401b1a07\nmov     rdx, [rcx+48h]                                                 ; +0x4a, 0x1401b1a0a\nmov     rcx, rax                                                       ; +0x4e, 0x1401b1a0e\ncall    rdx                                                            ; +0x51, 0x1401b1a11\nmov     rbx, cs:qword_14090BFD0                                        ; +0x53, 0x1401b1a13\nxorps   xmm0, xmm0                                                     ; +0x5a, 0x1401b1a1a\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x5d, 0x1401b1a1d\nmov     [rsp+68h+var_20], 3                                            ; +0x62, 0x1401b1a22\nmov     [rsp+68h+var_18], 0Fh                                          ; +0x6b, 0x1401b1a2b\nmov     eax, cs:dword_140757618                                        ; +0x74, 0x1401b1a34\nmov     word ptr [rsp+68h+Block], ax                                   ; +0x7a, 0x1401b1a3a\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0x7f, 0x1401b1a3f\nmov     byte ptr [rsp+68h+Block+2], al                                 ; +0x86, 0x1401b1a46\nmov     byte ptr [rsp+68h+Block+3], 0                                  ; +0x8a, 0x1401b1a4a\nmov     r8d, 4; Size                                                   ; +0x8f, 0x1401b1a4f\nlea     rdx, a0133; \"0133\"                                             ; +0x95, 0x1401b1a55\nlea     rcx, [rsp+68h+Block]; Src                                      ; +0x9c, 0x1401b1a5c\ncall    sub_140044D80                                                  ; +0xa1, 0x1401b1a61\nmov     rbx, [rbx+1B0h]                                                ; +0xa6, 0x1401b1a66\nxor     edx, edx                                                       ; +0xad, 0x1401b1a6d\nlea     rcx, word_1406ED6F8                                            ; +0xaf, 0x1401b1a6f\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0xb6, 0x1401b1a76\nmov     rdx, rax                                                       ; +0xbc, 0x1401b1a7c\nlea     r8, [rsp+68h+Block]                                            ; +0xbf, 0x1401b1a7f\nmov     rcx, rbx                                                       ; +0xc4, 0x1401b1a84\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0xc7, 0x1401b1a87\nnop                                                                    ; +0xcd, 0x1401b1a8d\nmov     rdx, [rsp+68h+var_18]                                          ; +0xce, 0x1401b1a8e\ncmp     rdx, 0Fh                                                       ; +0xd3, 0x1401b1a93\njbe     short loc_1401B1AE1                                            ; +0xd7, 0x1401b1a97\ninc     rdx                                                            ; +0xd9, 0x1401b1a99\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0xdc, 0x1401b1a9c\nmov     rax, rcx                                                       ; +0xe1, 0x1401b1aa1\ncmp     rdx, 1000h                                                     ; +0xe4, 0x1401b1aa4\njb      short loc_1401B1ADC                                            ; +0xeb, 0x1401b1aab\nadd     rdx, 27h ; '''                                                 ; +0xed, 0x1401b1aad\nmov     rcx, [rcx-8]                                                   ; +0xf1, 0x1401b1ab1\nsub     rax, rcx                                                       ; +0xf5, 0x1401b1ab5\nsub     rax, 8                                                         ; +0xf8, 0x1401b1ab8\ncmp     rax, 1Fh                                                       ; +0xfc, 0x1401b1abc\njbe     short loc_1401B1ADC                                            ; +0x100, 0x1401b1ac0\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x102, 0x1401b1ac2\nxor     r9d, r9d; LineNo                                               ; +0x10b, 0x1401b1acb\nxor     r8d, r8d; FileName                                             ; +0x10e, 0x1401b1ace\nxor     edx, edx; FunctionName                                         ; +0x111, 0x1401b1ad1\nxor     ecx, ecx; Expression                                           ; +0x113, 0x1401b1ad3\ncall    cs:_invoke_watson                                              ; +0x115, 0x1401b1ad5\nalign 4                                                                ; +0x11b, 0x1401b1adb\ncall    j_j_free                                                       ; +0x11c, 0x1401b1adc\nlea     rdx, a0; \"0\"                                                   ; +0x121, 0x1401b1ae1\nmov     rcx, [rdi+550h]                                                ; +0x128, 0x1401b1ae8\ncall    ButtonSprite__setString                                        ; +0x12f, 0x1401b1aef\nmov     rbx, cs:qword_14090BFD0                                        ; +0x134, 0x1401b1af4\ntest    rbx, rbx                                                       ; +0x13b, 0x1401b1afb\njnz     short loc_1401B1B32                                            ; +0x13e, 0x1401b1afe\nmov     ecx, 6E8h; Size                                                ; +0x140, 0x1401b1b00\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x145, 0x1401b1b05\nmov     [rsp+68h+var_38], rax                                          ; +0x14a, 0x1401b1b0a\nmov     rcx, rax                                                       ; +0x14f, 0x1401b1b0f\ncall    GameManager__GameManager                                       ; +0x152, 0x1401b1b12\nnop                                                                    ; +0x157, 0x1401b1b17\nmov     cs:qword_14090BFD0, rax                                        ; +0x158, 0x1401b1b18\nmov     rcx, [rax]                                                     ; +0x15f, 0x1401b1b1f\nmov     rdx, [rcx+48h]                                                 ; +0x162, 0x1401b1b22\nmov     rcx, rax                                                       ; +0x166, 0x1401b1b26\ncall    rdx                                                            ; +0x169, 0x1401b1b29\nmov     rbx, cs:qword_14090BFD0                                        ; +0x16b, 0x1401b1b2b\nxorps   xmm0, xmm0                                                     ; +0x172, 0x1401b1b32\nmovups  xmmword ptr [rsp+68h+Block], xmm0                              ; +0x175, 0x1401b1b35\nmov     [rsp+68h+var_20], 3                                            ; +0x17a, 0x1401b1b3a\nmov     [rsp+68h+var_18], 0Fh                                          ; +0x183, 0x1401b1b43\nmov     eax, cs:dword_140757618                                        ; +0x18c, 0x1401b1b4c\nmov     word ptr [rsp+68h+Block], ax                                   ; +0x192, 0x1401b1b52\nmovzx   eax, byte ptr cs:dword_140757618+2                             ; +0x197, 0x1401b1b57\nmov     byte ptr [rsp+68h+Block+2], al                                 ; +0x19e, 0x1401b1b5e\nmov     byte ptr [rsp+68h+Block+3], 0                                  ; +0x1a2, 0x1401b1b62\nmov     r8d, 4; Size                                                   ; +0x1a7, 0x1401b1b67\nlea     rdx, a0139; \"0139\"                                             ; +0x1ad, 0x1401b1b6d\nlea     rcx, [rsp+68h+Block]; Src                                      ; +0x1b4, 0x1401b1b74\ncall    sub_140044D80                                                  ; +0x1b9, 0x1401b1b79\nmov     rbx, [rbx+1B0h]                                                ; +0x1be, 0x1401b1b7e\nxor     edx, edx                                                       ; +0x1c5, 0x1401b1b85\nlea     rcx, word_1406ED6F8                                            ; +0x1c7, 0x1401b1b87\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1ce, 0x1401b1b8e\nmov     rdx, rax                                                       ; +0x1d4, 0x1401b1b94\nlea     r8, [rsp+68h+Block]                                            ; +0x1d7, 0x1401b1b97\nmov     rcx, rbx                                                       ; +0x1dc, 0x1401b1b9c\ncall    cs:?setObject@CCDictionary@cocos2d@@QEAAXPEAVCCObject@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const &) ; +0x1df, 0x1401b1b9f\nnop                                                                    ; +0x1e5, 0x1401b1ba5\nmov     rdx, [rsp+68h+var_18]                                          ; +0x1e6, 0x1401b1ba6\ncmp     rdx, 0Fh                                                       ; +0x1eb, 0x1401b1bab\njbe     short loc_1401B1BF9                                            ; +0x1ef, 0x1401b1baf\ninc     rdx                                                            ; +0x1f1, 0x1401b1bb1\nmov     rcx, [rsp+68h+Block]; Block                                    ; +0x1f4, 0x1401b1bb4\nmov     rax, rcx                                                       ; +0x1f9, 0x1401b1bb9\ncmp     rdx, 1000h                                                     ; +0x1fc, 0x1401b1bbc\njb      short loc_1401B1BF4                                            ; +0x203, 0x1401b1bc3\nadd     rdx, 27h ; '''                                                 ; +0x205, 0x1401b1bc5\nmov     rcx, [rcx-8]                                                   ; +0x209, 0x1401b1bc9\nsub     rax, rcx                                                       ; +0x20d, 0x1401b1bcd\nsub     rax, 8                                                         ; +0x210, 0x1401b1bd0\ncmp     rax, 1Fh                                                       ; +0x214, 0x1401b1bd4\njbe     short loc_1401B1BF4                                            ; +0x218, 0x1401b1bd8\nmov     [rsp+68h+Reserved], 0; Reserved                                ; +0x21a, 0x1401b1bda\nxor     r9d, r9d; LineNo                                               ; +0x223, 0x1401b1be3\nxor     r8d, r8d; FileName                                             ; +0x226, 0x1401b1be6\nxor     edx, edx; FunctionName                                         ; +0x229, 0x1401b1be9\nxor     ecx, ecx; Expression                                           ; +0x22b, 0x1401b1beb\ncall    cs:_invoke_watson                                              ; +0x22d, 0x1401b1bed\nalign 4                                                                ; +0x233, 0x1401b1bf3\ncall    j_j_free                                                       ; +0x234, 0x1401b1bf4\nlea     rdx, a0; \"0\"                                                   ; +0x239, 0x1401b1bf9\nmov     rcx, [rdi+558h]                                                ; +0x240, 0x1401b1c00\ncall    ButtonSprite__setString                                        ; +0x247, 0x1401b1c07\nmov     rcx, [rsp+68h+var_10]                                          ; +0x24c, 0x1401b1c0c\nxor     rcx, rsp; StackCookie                                          ; +0x251, 0x1401b1c11\ncall    __security_check_cookie                                        ; +0x254, 0x1401b1c14\nmov     rbx, [rsp+68h+arg_8]                                           ; +0x259, 0x1401b1c19\nadd     rsp, 60h                                                       ; +0x25e, 0x1401b1c1e\npop     rdi                                                            ; +0x262, 0x1401b1c22\nretn                                                                   ; +0x263, 0x1401b1c23", "xrefs": ["EditorUI::handleEditorAction @ 0x1401c3ab5", "EditorUI::setupDeleteMenu @ 0x1401f4fa9", "<???> @ 0x140919f58"], "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"}