{"type": "func", "start": 5373155456, "end": 5373156051, "name": "MoreSearchLayer::onUncompleted", "pseudocode": "// \n// MoreSearchLayer::onUncompleted from 0x14043d880 to 0x14043dad3 (595 bytes)\n// \n// 2 xrefs:\n// > MoreSearchLayer::init @ 0x14043bebf\n// > <???> @ 0x140926f90\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:20 +0000\n// \n\n// Hidden C++ exception states: #wind=4\nvoid MoreSearchLayer::onUncompleted()\n{\n  __int64 v0; // rbx\n  cocos2d::CCString *v1; // rax\n  BOOL v2; // edi\n  void *v3; // r8\n  __int64 v4; // rbx\n  __int64 v5; // rbx\n  struct cocos2d::CCString *v6; // rax\n  void *v7; // rcx\n  void *v8; // [rsp+30h] [rbp-58h]\n  void *v9; // [rsp+30h] [rbp-58h]\n  void *Block[2]; // [rsp+38h] [rbp-50h] BYREF\n  __int64 v11; // [rsp+48h] [rbp-40h]\n  unsigned __int64 v12; // [rsp+50h] [rbp-38h]\n  void *v13[2]; // [rsp+58h] [rbp-30h] BYREF\n  __int64 v14; // [rsp+68h] [rbp-20h]\n  unsigned __int64 v15; // [rsp+70h] [rbp-18h]\n\n  v0 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v8 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v8);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v0 = *(_QWORD *)&qword_14090BFB0;\n  }\n  *(_OWORD *)Block = 0;\n  Block[0] = sub_14003D460(0x20u);\n  v11 = 18;\n  v12 = 31;\n  strcpy((char *)Block[0], \"uncompleted_filter\");\n  v1 = (cocos2d::CCString *)cocos2d::CCDictionary::valueForKey(*(_QWORD *)(v0 + 848), Block);\n  v2 = cocos2d::CCString::boolValue(v1);\n  if ( v12 > 0xF )\n  {\n    v3 = Block[0];\n    if ( v12 + 1 >= 0x1000 )\n    {\n      v3 = *((void **)Block[0] - 1);\n      if ( (unsigned __int64)((char *)Block[0] - (char *)v3 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v3);\n  }\n  v11 = 0;\n  v12 = 15;\n  LOBYTE(Block[0]) = 0;\n  v4 = *(_QWORD *)&qword_14090BFB0;\n  if ( !*(_QWORD *)&qword_14090BFB0 )\n  {\n    v9 = operator new(0x690u);\n    *(_QWORD *)&qword_14090BFB0 = GameLevelManager::GameLevelManager((__int64)v9);\n    (*(void (__fastcall **)(_QWORD))(**(_QWORD **)&qword_14090BFB0 + 72LL))(*(_QWORD *)&qword_14090BFB0);\n    v4 = *(_QWORD *)&qword_14090BFB0;\n  }\n  *(_OWORD *)v13 = 0;\n  v14 = 0;\n  v15 = 0;\n  v13[0] = sub_14003D460(0x20u);\n  v14 = 18;\n  v15 = 31;\n  strcpy((char *)v13[0], \"uncompleted_filter\");\n  v5 = *(_QWORD *)(v4 + 848);\n  v6 = cocos2d::CCString::createWithFormat((const char *)&word_1406ED6F8, !v2);\n  cocos2d::CCDictionary::setObject(v5, v6, v13);\n  if ( v15 > 0xF )\n  {\n    v7 = v13[0];\n    if ( v15 + 1 >= 0x1000 )\n    {\n      v7 = *((void **)v13[0] - 1);\n      if ( (unsigned __int64)((char *)v13[0] - (char *)v7 - 8) > 0x1F )\n        invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n    }\n    j_j_free(v7);\n  }\n}", "assembly": "; \n; MoreSearchLayer::onUncompleted from 0x14043d880 to 0x14043dad3 (595 bytes)\n; \n; 2 xrefs:\n; > MoreSearchLayer::init @ 0x14043bebf\n; > <???> @ 0x140926f90\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:20 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14043d880\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x14043d885\npush    rdi                                                            ; +0xa, 0x14043d88a\nsub     rsp, 80h                                                       ; +0xb, 0x14043d88b\nmov     rax, cs:__security_cookie                                      ; +0x12, 0x14043d892\nxor     rax, rsp                                                       ; +0x19, 0x14043d899\nmov     [rsp+88h+var_10], rax                                          ; +0x1c, 0x14043d89c\nmov     rbx, cs:qword_14090BFB0                                        ; +0x21, 0x14043d8a1\ntest    rbx, rbx                                                       ; +0x28, 0x14043d8a8\njnz     short loc_14043D8DF                                            ; +0x2b, 0x14043d8ab\nmov     ecx, 690h; Size                                                ; +0x2d, 0x14043d8ad\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x32, 0x14043d8b2\nmov     [rsp+88h+var_58], rax                                          ; +0x37, 0x14043d8b7\nmov     rcx, rax                                                       ; +0x3c, 0x14043d8bc\ncall    GameLevelManager__GameLevelManager                             ; +0x3f, 0x14043d8bf\nnop                                                                    ; +0x44, 0x14043d8c4\nmov     cs:qword_14090BFB0, rax                                        ; +0x45, 0x14043d8c5\nmov     rcx, [rax]                                                     ; +0x4c, 0x14043d8cc\nmov     rdx, [rcx+48h]                                                 ; +0x4f, 0x14043d8cf\nmov     rcx, rax                                                       ; +0x53, 0x14043d8d3\ncall    rdx                                                            ; +0x56, 0x14043d8d6\nmov     rbx, cs:qword_14090BFB0                                        ; +0x58, 0x14043d8d8\nxorps   xmm0, xmm0                                                     ; +0x5f, 0x14043d8df\nmovups  xmmword ptr [rsp+88h+Block], xmm0                              ; +0x62, 0x14043d8e2\nxor     esi, esi                                                       ; +0x67, 0x14043d8e7\nmov     [rsp+88h+var_40], rsi                                          ; +0x69, 0x14043d8e9\nmov     [rsp+88h+var_38], rsi                                          ; +0x6e, 0x14043d8ee\nmov     ecx, 20h ; ' '                                                 ; +0x73, 0x14043d8f3\ncall    sub_14003D460                                                  ; +0x78, 0x14043d8f8\nmov     [rsp+88h+Block], rax                                           ; +0x7d, 0x14043d8fd\nmov     [rsp+88h+var_40], 12h                                          ; +0x82, 0x14043d902\nmov     [rsp+88h+var_38], 1Fh                                          ; +0x8b, 0x14043d90b\nmovups  xmm0, cs:xmmword_140790270                                     ; +0x94, 0x14043d914\nmovups  xmmword ptr [rax], xmm0                                        ; +0x9b, 0x14043d91b\nmovzx   ecx, cs:word_140790280                                         ; +0x9e, 0x14043d91e\nmov     [rax+10h], cx                                                  ; +0xa5, 0x14043d925\nmov     [rax+12h], sil                                                 ; +0xa9, 0x14043d929\nlea     rdx, [rsp+88h+Block]                                           ; +0xad, 0x14043d92d\nmov     rcx, [rbx+350h]                                                ; +0xb2, 0x14043d932\ncall    cs:?valueForKey@CCDictionary@cocos2d@@QEAAPEBVCCString@2@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; cocos2d::CCDictionary::valueForKey(std::string const &) ; +0xb9, 0x14043d939\nmov     rcx, rax                                                       ; +0xbf, 0x14043d93f\ncall    cs:?boolValue@CCString@cocos2d@@QEBA_NXZ; cocos2d::CCString::boolValue(void) ; +0xc2, 0x14043d942\nmovzx   edi, al                                                        ; +0xc8, 0x14043d948\nmov     rdx, [rsp+88h+var_38]                                          ; +0xcb, 0x14043d94b\ncmp     rdx, 0Fh                                                       ; +0xd0, 0x14043d950\njbe     short loc_14043D99D                                            ; +0xd4, 0x14043d954\ninc     rdx                                                            ; +0xd6, 0x14043d956\nmov     r8, [rsp+88h+Block]                                            ; +0xd9, 0x14043d959\nmov     rcx, r8                                                        ; +0xde, 0x14043d95e\ncmp     rdx, 1000h                                                     ; +0xe1, 0x14043d961\njb      short loc_14043D995                                            ; +0xe8, 0x14043d968\nadd     rdx, 27h ; '''                                                 ; +0xea, 0x14043d96a\nmov     r8, [r8-8]                                                     ; +0xee, 0x14043d96e\nsub     rcx, r8                                                        ; +0xf2, 0x14043d972\nsub     rcx, 8                                                         ; +0xf5, 0x14043d975\ncmp     rcx, 1Fh                                                       ; +0xf9, 0x14043d979\njbe     short loc_14043D995                                            ; +0xfd, 0x14043d97d\nmov     [rsp+88h+Reserved], rsi; Reserved                              ; +0xff, 0x14043d97f\nxor     r9d, r9d; LineNo                                               ; +0x104, 0x14043d984\nxor     r8d, r8d; FileName                                             ; +0x107, 0x14043d987\nxor     edx, edx; FunctionName                                         ; +0x10a, 0x14043d98a\nxor     ecx, ecx; Expression                                           ; +0x10c, 0x14043d98c\ncall    cs:_invoke_watson                                              ; +0x10e, 0x14043d98e\ndb 0CCh                                                                ; +0x114, 0x14043d994\nmov     rcx, r8; Block                                                 ; +0x115, 0x14043d995\ncall    j_j_free                                                       ; +0x118, 0x14043d998\nmov     [rsp+88h+var_40], rsi                                          ; +0x11d, 0x14043d99d\nmov     [rsp+88h+var_38], 0Fh                                          ; +0x122, 0x14043d9a2\nmov     byte ptr [rsp+88h+Block], 0                                    ; +0x12b, 0x14043d9ab\nmov     rbx, cs:qword_14090BFB0                                        ; +0x130, 0x14043d9b0\ntest    rbx, rbx                                                       ; +0x137, 0x14043d9b7\njnz     short loc_14043D9EB                                            ; +0x13a, 0x14043d9ba\nmov     ecx, 690h; Size                                                ; +0x13c, 0x14043d9bc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x141, 0x14043d9c1\nmov     [rsp+88h+var_58], rax                                          ; +0x146, 0x14043d9c6\nmov     rcx, rax                                                       ; +0x14b, 0x14043d9cb\ncall    GameLevelManager__GameLevelManager                             ; +0x14e, 0x14043d9ce\nnop                                                                    ; +0x153, 0x14043d9d3\nmov     cs:qword_14090BFB0, rax                                        ; +0x154, 0x14043d9d4\nmov     rdx, [rax]                                                     ; +0x15b, 0x14043d9db\nmov     rcx, rax                                                       ; +0x15e, 0x14043d9de\ncall    qword ptr [rdx+48h]                                            ; +0x161, 0x14043d9e1\nmov     rbx, cs:qword_14090BFB0                                        ; +0x164, 0x14043d9e4\nxorps   xmm0, xmm0                                                     ; +0x16b, 0x14043d9eb\nmovups  xmmword ptr [rsp+88h+var_30], xmm0                             ; +0x16e, 0x14043d9ee\nmov     [rsp+88h+var_20], rsi                                          ; +0x173, 0x14043d9f3\nmov     [rsp+88h+var_18], rsi                                          ; +0x178, 0x14043d9f8\nmov     ecx, 20h ; ' '                                                 ; +0x17d, 0x14043d9fd\ncall    sub_14003D460                                                  ; +0x182, 0x14043da02\nmov     [rsp+88h+var_30], rax                                          ; +0x187, 0x14043da07\nmov     [rsp+88h+var_20], 12h                                          ; +0x18c, 0x14043da0c\nmov     [rsp+88h+var_18], 1Fh                                          ; +0x195, 0x14043da15\nmovups  xmm0, cs:xmmword_140790270                                     ; +0x19e, 0x14043da1e\nmovups  xmmword ptr [rax], xmm0                                        ; +0x1a5, 0x14043da25\nmovzx   ecx, cs:word_140790280                                         ; +0x1a8, 0x14043da28\nmov     [rax+10h], cx                                                  ; +0x1af, 0x14043da2f\nmov     byte ptr [rax+12h], 0                                          ; +0x1b3, 0x14043da33\nmov     rbx, [rbx+350h]                                                ; +0x1b7, 0x14043da37\nmov     edx, edi                                                       ; +0x1be, 0x14043da3e\nxor     edx, 1                                                         ; +0x1c0, 0x14043da40\nlea     rcx, word_1406ED6F8                                            ; +0x1c3, 0x14043da43\ncall    cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x1ca, 0x14043da4a\nmov     rdx, rax                                                       ; +0x1d0, 0x14043da50\nlea     r8, [rsp+88h+var_30]                                           ; +0x1d3, 0x14043da53\nmov     rcx, rbx                                                       ; +0x1d8, 0x14043da58\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 &) ; +0x1db, 0x14043da5b\nnop                                                                    ; +0x1e1, 0x14043da61\nmov     rdx, [rsp+88h+var_18]                                          ; +0x1e2, 0x14043da62\ncmp     rdx, 0Fh                                                       ; +0x1e7, 0x14043da67\njbe     short loc_14043DAB1                                            ; +0x1eb, 0x14043da6b\ninc     rdx                                                            ; +0x1ed, 0x14043da6d\nmov     rcx, [rsp+88h+var_30]; Block                                   ; +0x1f0, 0x14043da70\nmov     rax, rcx                                                       ; +0x1f5, 0x14043da75\ncmp     rdx, 1000h                                                     ; +0x1f8, 0x14043da78\njb      short loc_14043DAAC                                            ; +0x1ff, 0x14043da7f\nadd     rdx, 27h ; '''                                                 ; +0x201, 0x14043da81\nmov     rcx, [rcx-8]                                                   ; +0x205, 0x14043da85\nsub     rax, rcx                                                       ; +0x209, 0x14043da89\nsub     rax, 8                                                         ; +0x20c, 0x14043da8c\ncmp     rax, 1Fh                                                       ; +0x210, 0x14043da90\njbe     short loc_14043DAAC                                            ; +0x214, 0x14043da94\nmov     [rsp+88h+Reserved], rsi; Reserved                              ; +0x216, 0x14043da96\nxor     r9d, r9d; LineNo                                               ; +0x21b, 0x14043da9b\nxor     r8d, r8d; FileName                                             ; +0x21e, 0x14043da9e\nxor     edx, edx; FunctionName                                         ; +0x221, 0x14043daa1\nxor     ecx, ecx; Expression                                           ; +0x223, 0x14043daa3\ncall    cs:_invoke_watson                                              ; +0x225, 0x14043daa5\nalign 4                                                                ; +0x22b, 0x14043daab\ncall    j_j_free                                                       ; +0x22c, 0x14043daac\nmov     rcx, [rsp+88h+var_10]                                          ; +0x231, 0x14043dab1\nxor     rcx, rsp; StackCookie                                          ; +0x236, 0x14043dab6\ncall    __security_check_cookie                                        ; +0x239, 0x14043dab9\nlea     r11, [rsp+88h+var_8]                                           ; +0x23e, 0x14043dabe\nmov     rbx, [r11+10h]                                                 ; +0x246, 0x14043dac6\nmov     rsi, [r11+18h]                                                 ; +0x24a, 0x14043daca\nmov     rsp, r11                                                       ; +0x24e, 0x14043dace\npop     rdi                                                            ; +0x251, 0x14043dad1\nretn                                                                   ; +0x252, 0x14043dad2", "xrefs": ["MoreSearchLayer::init @ 0x14043bebf", "<???> @ 0x140926f90"], "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"}