{"type": "func", "start": 5371264576, "end": 5371265396, "name": "GJSearchObject::create", "pseudocode": "// \n// GJSearchObject::create from 0x14026fe40 to 0x140270174 (820 bytes)\n// \n// 7 xrefs:\n// > GJSearchObject::createFromKey @ 0x14026faf6\n// > GJSearchObject::create_2 @ 0x14026fcf9\n// > GJSearchObject::create_1 @ 0x14026fe0c\n// > GJSearchObject::getPageObject @ 0x140270410\n// > LevelSearchLayer::getSearchObject @ 0x1404396fb\n// > <???> @ 0x14091cab4\n// > <???> @ 0x14091cac0\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:28:53 +0000\n// \n\n// Hidden C++ exception states: #wind=9\nvoid **__fastcall GJSearchObject::create(\n        int a1,\n        __int64 a2,\n        __int64 a3,\n        __int64 a4,\n        int a5,\n        char a6,\n        char a7,\n        char a8,\n        int a9,\n        char a10,\n        char a11,\n        char a12,\n        char a13,\n        char a14,\n        char a15,\n        char a16,\n        char a17,\n        char a18,\n        char a19,\n        int a20,\n        int a21,\n        int a22)\n{\n  void **v26; // rdi\n  void **v27; // rsi\n  void **v28; // r14\n  __int64 v29; // rax\n  __int64 v30; // r15\n  void *v31; // rdx\n  void *v32; // rdx\n  void *v33; // rdx\n  _BYTE v38[32]; // [rsp+58h] [rbp-C0h] BYREF\n  _BYTE v39[32]; // [rsp+78h] [rbp-A0h] BYREF\n  _BYTE v40[32]; // [rsp+98h] [rbp-80h] BYREF\n  __int64 v41; // [rsp+B8h] [rbp-60h]\n  __int64 v42; // [rsp+C0h] [rbp-58h]\n  __int64 v43; // [rsp+C8h] [rbp-50h]\n\n  v41 = a2;\n  v42 = a3;\n  v43 = a4;\n  v26 = (void **)operator new(0x1D8u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v26);\n  *v26 = &GJSearchObject::`vftable';\n  *((_DWORD *)v26 + 80) = 0;\n  *(_OWORD *)(v26 + 41) = 0;\n  v26[43] = nullptr;\n  v26[44] = (void *)15;\n  *((_BYTE *)v26 + 328) = 0;\n  *(_OWORD *)(v26 + 45) = 0;\n  v26[47] = nullptr;\n  v26[48] = (void *)15;\n  *((_BYTE *)v26 + 360) = 0;\n  *(_OWORD *)(v26 + 49) = 0;\n  v26[51] = nullptr;\n  v26[52] = (void *)15;\n  *((_BYTE *)v26 + 392) = 0;\n  *((_DWORD *)v26 + 106) = 0;\n  *((_WORD *)v26 + 214) = 0;\n  v26[54] = nullptr;\n  *((_DWORD *)v26 + 110) = 0;\n  *((_BYTE *)v26 + 444) = 0;\n  v26[56] = nullptr;\n  *((_DWORD *)v26 + 114) = 0;\n  *((_WORD *)v26 + 230) = 0;\n  *((_BYTE *)v26 + 462) = 0;\n  *((_DWORD *)v26 + 116) = 0;\n  v27 = (void **)sub_14003F4F0((__int64)v38, a4);\n  v28 = (void **)sub_14003F4F0((__int64)v39, a3);\n  v29 = sub_14003F4F0((__int64)v40, a2);\n  v30 = v29;\n  *((_DWORD *)v26 + 80) = a1;\n  if ( v26 + 41 != (void **)v29 )\n  {\n    v31 = (void *)v29;\n    if ( *(_QWORD *)(v29 + 24) > 0xFu )\n      v31 = *(void **)v29;\n    sub_1400405A0(v26 + 41, v31, *(_QWORD *)(v29 + 16));\n  }\n  if ( v26 + 45 != v28 )\n  {\n    v32 = v28;\n    if ( (unsigned __int64)v28[3] > 0xF )\n      v32 = *v28;\n    sub_1400405A0(v26 + 45, v32, (size_t)v28[2]);\n  }\n  if ( v26 + 49 != v27 )\n  {\n    v33 = v27;\n    if ( (unsigned __int64)v27[3] > 0xF )\n      v33 = *v27;\n    sub_1400405A0(v26 + 49, v33, (size_t)v27[2]);\n  }\n  *((_DWORD *)v26 + 106) = a5;\n  *((_BYTE *)v26 + 428) = a6;\n  *((_BYTE *)v26 + 436) = a7;\n  *((_BYTE *)v26 + 438) = a8;\n  *((_DWORD *)v26 + 114) = a9;\n  *((_BYTE *)v26 + 439) = a10;\n  *((_BYTE *)v26 + 440) = a11;\n  *((_BYTE *)v26 + 460) = a12;\n  *((_BYTE *)v26 + 461) = a13;\n  *((_BYTE *)v26 + 429) = a14;\n  *((_BYTE *)v26 + 441) = a15;\n  *((_BYTE *)v26 + 442) = a16;\n  *((_BYTE *)v26 + 444) = a18;\n  *((_BYTE *)v26 + 443) = a17;\n  *((_BYTE *)v26 + 437) = a19;\n  *((_DWORD *)v26 + 112) = a20;\n  *((_DWORD *)v26 + 113) = a21;\n  *((_DWORD *)v26 + 116) = a22;\n  sub_14003D310(v30);\n  sub_14003D310((__int64)v28);\n  sub_14003D310((__int64)v27);\n  cocos2d::CCObject::autorelease((cocos2d::CCObject *)v26);\n  sub_14003D310(a2);\n  sub_14003D310(a3);\n  sub_14003D310(a4);\n  return v26;\n}", "assembly": "; \n; GJSearchObject::create from 0x14026fe40 to 0x140270174 (820 bytes)\n; \n; 7 xrefs:\n; > GJSearchObject::createFromKey @ 0x14026faf6\n; > GJSearchObject::create_2 @ 0x14026fcf9\n; > GJSearchObject::create_1 @ 0x14026fe0c\n; > GJSearchObject::getPageObject @ 0x140270410\n; > LevelSearchLayer::getSearchObject @ 0x1404396fb\n; > <???> @ 0x14091cab4\n; > <???> @ 0x14091cac0\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:28:53 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x14026fe40\nmov     [r11+8], rbx                                                   ; +0x3, 0x14026fe43\npush    rbp                                                            ; +0x7, 0x14026fe47\npush    rsi                                                            ; +0x8, 0x14026fe48\npush    rdi                                                            ; +0x9, 0x14026fe49\npush    r12                                                            ; +0xa, 0x14026fe4a\npush    r13                                                            ; +0xc, 0x14026fe4c\npush    r14                                                            ; +0xe, 0x14026fe4e\npush    r15                                                            ; +0x10, 0x14026fe50\nsub     rsp, 0E0h                                                      ; +0x12, 0x14026fe52\nmov     rax, cs:__security_cookie                                      ; +0x19, 0x14026fe59\nxor     rax, rsp                                                       ; +0x20, 0x14026fe60\nmov     [rsp+118h+var_48], rax                                         ; +0x23, 0x14026fe63\nmov     rsi, r9                                                        ; +0x2b, 0x14026fe6b\nmov     [rsp+118h+var_E8], r9                                          ; +0x2e, 0x14026fe6e\nmov     r14, r8                                                        ; +0x33, 0x14026fe73\nmov     [rsp+118h+var_F0], r8                                          ; +0x36, 0x14026fe76\nmov     r15, rdx                                                       ; +0x3b, 0x14026fe7b\nmov     [rsp+118h+var_F8], rdx                                         ; +0x3e, 0x14026fe7e\nmov     ebx, ecx                                                       ; +0x43, 0x14026fe83\nmov     [r11-60h], rdx                                                 ; +0x45, 0x14026fe85\nmov     [r11-58h], r8                                                  ; +0x49, 0x14026fe89\nmov     [r11-50h], r9                                                  ; +0x4d, 0x14026fe8d\nmov     ecx, 1D8h; Size                                                ; +0x51, 0x14026fe91\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x56, 0x14026fe96\nmov     rdi, rax                                                       ; +0x5b, 0x14026fe9b\nmov     [rsp+118h+var_E0], rax                                         ; +0x5e, 0x14026fe9e\nmov     rcx, rax                                                       ; +0x63, 0x14026fea3\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x66, 0x14026fea6\nlea     rax, ??_7GJSearchObject@@6B@; const GJSearchObject::`vftable'  ; +0x6c, 0x14026feac\nmov     [rdi], rax                                                     ; +0x73, 0x14026feb3\nxor     eax, eax                                                       ; +0x76, 0x14026feb6\nmov     [rdi+140h], eax                                                ; +0x78, 0x14026feb8\nlea     r13, [rdi+148h]                                                ; +0x7e, 0x14026febe\nxorps   xmm0, xmm0                                                     ; +0x85, 0x14026fec5\nmovups  xmmword ptr [r13+0], xmm0                                      ; +0x88, 0x14026fec8\nmov     [r13+10h], rax                                                 ; +0x8d, 0x14026fecd\nmov     qword ptr [r13+18h], 0Fh                                       ; +0x91, 0x14026fed1\nmov     [r13+0], al                                                    ; +0x99, 0x14026fed9\nlea     rbp, [rdi+168h]                                                ; +0x9d, 0x14026fedd\nmovups  xmmword ptr [rbp+0], xmm0                                      ; +0xa4, 0x14026fee4\nmov     [rbp+10h], rax                                                 ; +0xa8, 0x14026fee8\nmov     qword ptr [rbp+18h], 0Fh                                       ; +0xac, 0x14026feec\nmov     [rbp+0], al                                                    ; +0xb4, 0x14026fef4\nlea     r12, [rdi+188h]                                                ; +0xb7, 0x14026fef7\nmovups  xmmword ptr [r12], xmm0                                        ; +0xbe, 0x14026fefe\nmov     [r12+10h], rax                                                 ; +0xc3, 0x14026ff03\nmov     qword ptr [r12+18h], 0Fh                                       ; +0xc8, 0x14026ff08\nmov     [r12], al                                                      ; +0xd1, 0x14026ff11\nmov     [rdi+1A8h], eax                                                ; +0xd5, 0x14026ff15\nmov     [rdi+1ACh], ax                                                 ; +0xdb, 0x14026ff1b\nmov     [rdi+1B0h], rax                                                ; +0xe2, 0x14026ff22\nmov     [rdi+1B8h], eax                                                ; +0xe9, 0x14026ff29\nmov     [rdi+1BCh], al                                                 ; +0xef, 0x14026ff2f\nmov     [rdi+1C0h], rax                                                ; +0xf5, 0x14026ff35\nmov     [rdi+1C8h], eax                                                ; +0xfc, 0x14026ff3c\nmov     [rdi+1CCh], ax                                                 ; +0x102, 0x14026ff42\nmov     [rdi+1CEh], al                                                 ; +0x109, 0x14026ff49\nmov     [rdi+1D0h], eax                                                ; +0x10f, 0x14026ff4f\nlea     rax, [rsp+118h+var_C0]                                         ; +0x115, 0x14026ff55\nmov     [rsp+118h+var_E0], rax                                         ; +0x11a, 0x14026ff5a\nlea     rax, [rsp+118h+var_A0]                                         ; +0x11f, 0x14026ff5f\nmov     [rsp+118h+var_D8], rax                                         ; +0x124, 0x14026ff64\nmov     rdx, rsi                                                       ; +0x129, 0x14026ff69\nlea     rcx, [rsp+118h+var_C0]                                         ; +0x12c, 0x14026ff6c\ncall    sub_14003F4F0                                                  ; +0x131, 0x14026ff71\nmov     rsi, rax                                                       ; +0x136, 0x14026ff76\nmov     [rsp+118h+var_D0], rax                                         ; +0x139, 0x14026ff79\nmov     rdx, r14                                                       ; +0x13e, 0x14026ff7e\nlea     rcx, [rsp+118h+var_A0]                                         ; +0x141, 0x14026ff81\ncall    sub_14003F4F0                                                  ; +0x146, 0x14026ff86\nmov     r14, rax                                                       ; +0x14b, 0x14026ff8b\nmov     [rsp+118h+var_C8], rax                                         ; +0x14e, 0x14026ff8e\nmov     rdx, r15                                                       ; +0x153, 0x14026ff93\nlea     rcx, [rsp+118h+var_80]                                         ; +0x156, 0x14026ff96\ncall    sub_14003F4F0                                                  ; +0x15e, 0x14026ff9e\nmov     r15, rax                                                       ; +0x163, 0x14026ffa3\nmov     [rsp+118h+var_D8], rax                                         ; +0x166, 0x14026ffa6\nmov     [rdi+140h], ebx                                                ; +0x16b, 0x14026ffab\ncmp     r13, rax                                                       ; +0x171, 0x14026ffb1\njz      short loc_14026FFCF                                            ; +0x174, 0x14026ffb4\nmov     rdx, rax                                                       ; +0x176, 0x14026ffb6\ncmp     qword ptr [rax+18h], 0Fh                                       ; +0x179, 0x14026ffb9\njbe     short loc_14026FFC3                                            ; +0x17e, 0x14026ffbe\nmov     rdx, [rax]; Src                                                ; +0x180, 0x14026ffc0\nmov     r8, [rax+10h]; Size                                            ; +0x183, 0x14026ffc3\nmov     rcx, r13; void *                                               ; +0x187, 0x14026ffc7\ncall    sub_1400405A0                                                  ; +0x18a, 0x14026ffca\ncmp     rbp, r14                                                       ; +0x18f, 0x14026ffcf\njz      short loc_14026FFED                                            ; +0x192, 0x14026ffd2\nmov     rdx, r14                                                       ; +0x194, 0x14026ffd4\ncmp     qword ptr [r14+18h], 0Fh                                       ; +0x197, 0x14026ffd7\njbe     short loc_14026FFE1                                            ; +0x19c, 0x14026ffdc\nmov     rdx, [r14]; Src                                                ; +0x19e, 0x14026ffde\nmov     r8, [r14+10h]; Size                                            ; +0x1a1, 0x14026ffe1\nmov     rcx, rbp; void *                                               ; +0x1a5, 0x14026ffe5\ncall    sub_1400405A0                                                  ; +0x1a8, 0x14026ffe8\ncmp     r12, rsi                                                       ; +0x1ad, 0x14026ffed\njz      short loc_14027000B                                            ; +0x1b0, 0x14026fff0\nmov     rdx, rsi                                                       ; +0x1b2, 0x14026fff2\ncmp     qword ptr [rsi+18h], 0Fh                                       ; +0x1b5, 0x14026fff5\njbe     short loc_14026FFFF                                            ; +0x1ba, 0x14026fffa\nmov     rdx, [rsi]; Src                                                ; +0x1bc, 0x14026fffc\nmov     r8, [rsi+10h]; Size                                            ; +0x1bf, 0x14026ffff\nmov     rcx, r12; void *                                               ; +0x1c3, 0x140270003\ncall    sub_1400405A0                                                  ; +0x1c6, 0x140270006\nmov     eax, [rsp+118h+arg_20]                                         ; +0x1cb, 0x14027000b\nmov     [rdi+1A8h], eax                                                ; +0x1d2, 0x140270012\nmovzx   eax, [rsp+118h+arg_28]                                         ; +0x1d8, 0x140270018\nmov     [rdi+1ACh], al                                                 ; +0x1e0, 0x140270020\nmovzx   eax, [rsp+118h+arg_30]                                         ; +0x1e6, 0x140270026\nmov     [rdi+1B4h], al                                                 ; +0x1ee, 0x14027002e\nmovzx   eax, [rsp+118h+arg_38]                                         ; +0x1f4, 0x140270034\nmov     [rdi+1B6h], al                                                 ; +0x1fc, 0x14027003c\nmov     eax, [rsp+118h+arg_40]                                         ; +0x202, 0x140270042\nmov     [rdi+1C8h], eax                                                ; +0x209, 0x140270049\nmovzx   eax, [rsp+118h+arg_48]                                         ; +0x20f, 0x14027004f\nmov     [rdi+1B7h], al                                                 ; +0x217, 0x140270057\nmovzx   eax, [rsp+118h+arg_50]                                         ; +0x21d, 0x14027005d\nmov     [rdi+1B8h], al                                                 ; +0x225, 0x140270065\nmovzx   eax, [rsp+118h+arg_58]                                         ; +0x22b, 0x14027006b\nmov     [rdi+1CCh], al                                                 ; +0x233, 0x140270073\nmovzx   eax, [rsp+118h+arg_60]                                         ; +0x239, 0x140270079\nmov     [rdi+1CDh], al                                                 ; +0x241, 0x140270081\nmovzx   eax, [rsp+118h+arg_68]                                         ; +0x247, 0x140270087\nmov     [rdi+1ADh], al                                                 ; +0x24f, 0x14027008f\nmovzx   eax, [rsp+118h+arg_70]                                         ; +0x255, 0x140270095\nmov     [rdi+1B9h], al                                                 ; +0x25d, 0x14027009d\nmovzx   eax, [rsp+118h+arg_78]                                         ; +0x263, 0x1402700a3\nmov     [rdi+1BAh], al                                                 ; +0x26b, 0x1402700ab\nmovzx   eax, [rsp+118h+arg_88]                                         ; +0x271, 0x1402700b1\nmov     [rdi+1BCh], al                                                 ; +0x279, 0x1402700b9\nmovzx   eax, [rsp+118h+arg_80]                                         ; +0x27f, 0x1402700bf\nmov     [rdi+1BBh], al                                                 ; +0x287, 0x1402700c7\nmovzx   eax, [rsp+118h+arg_90]                                         ; +0x28d, 0x1402700cd\nmov     [rdi+1B5h], al                                                 ; +0x295, 0x1402700d5\nmov     eax, [rsp+118h+arg_98]                                         ; +0x29b, 0x1402700db\nmov     [rdi+1C0h], eax                                                ; +0x2a2, 0x1402700e2\nmov     eax, [rsp+118h+arg_A0]                                         ; +0x2a8, 0x1402700e8\nmov     [rdi+1C4h], eax                                                ; +0x2af, 0x1402700ef\nmov     eax, [rsp+118h+arg_A8]                                         ; +0x2b5, 0x1402700f5\nmov     [rdi+1D0h], eax                                                ; +0x2bc, 0x1402700fc\nmov     rcx, r15                                                       ; +0x2c2, 0x140270102\ncall    sub_14003D310                                                  ; +0x2c5, 0x140270105\nnop                                                                    ; +0x2ca, 0x14027010a\nmov     rcx, r14                                                       ; +0x2cb, 0x14027010b\ncall    sub_14003D310                                                  ; +0x2ce, 0x14027010e\nnop                                                                    ; +0x2d3, 0x140270113\nmov     rcx, rsi                                                       ; +0x2d4, 0x140270114\ncall    sub_14003D310                                                  ; +0x2d7, 0x140270117\nmov     rcx, rdi                                                       ; +0x2dc, 0x14027011c\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x2df, 0x14027011f\nnop                                                                    ; +0x2e5, 0x140270125\nmov     rcx, [rsp+118h+var_F8]                                         ; +0x2e6, 0x140270126\ncall    sub_14003D310                                                  ; +0x2eb, 0x14027012b\nnop                                                                    ; +0x2f0, 0x140270130\nmov     rcx, [rsp+118h+var_F0]                                         ; +0x2f1, 0x140270131\ncall    sub_14003D310                                                  ; +0x2f6, 0x140270136\nnop                                                                    ; +0x2fb, 0x14027013b\nmov     rcx, [rsp+118h+var_E8]                                         ; +0x2fc, 0x14027013c\ncall    sub_14003D310                                                  ; +0x301, 0x140270141\nmov     rax, rdi                                                       ; +0x306, 0x140270146\nmov     rcx, [rsp+118h+var_48]                                         ; +0x309, 0x140270149\nxor     rcx, rsp; StackCookie                                          ; +0x311, 0x140270151\ncall    __security_check_cookie                                        ; +0x314, 0x140270154\nmov     rbx, [rsp+118h+arg_0]                                          ; +0x319, 0x140270159\nadd     rsp, 0E0h                                                      ; +0x321, 0x140270161\npop     r15                                                            ; +0x328, 0x140270168\npop     r14                                                            ; +0x32a, 0x14027016a\npop     r13                                                            ; +0x32c, 0x14027016c\npop     r12                                                            ; +0x32e, 0x14027016e\npop     rdi                                                            ; +0x330, 0x140270170\npop     rsi                                                            ; +0x331, 0x140270171\npop     rbp                                                            ; +0x332, 0x140270172\nretn                                                                   ; +0x333, 0x140270173", "xrefs": ["GJSearchObject::createFromKey @ 0x14026faf6", "GJSearchObject::create_2 @ 0x14026fcf9", "GJSearchObject::create_1 @ 0x14026fe0c", "GJSearchObject::getPageObject @ 0x140270410", "LevelSearchLayer::getSearchObject @ 0x1404396fb", "<???> @ 0x14091cab4", "<???> @ 0x14091cac0"], "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"}