{"type": "func", "start": 5369662304, "end": 5369662860, "name": "LevelPickerPopup::create", "pseudocode": "// \n// LevelPickerPopup::create from 0x1400e8b60 to 0x1400e8d8c (556 bytes)\n// \n// 3 xrefs:\n// > ThreadViewPopup::onShareLevel @ 0x1400dc922\n// > NewThreadPopup::onShareLevel @ 0x1400f1310\n// > <???> @ 0x140914de0\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:26:33 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nchar *__fastcall LevelPickerPopup::create(__int64 a1)\n{\n  char *v2; // rdi\n\n  v2 = (char *)operator new(0x440u);\n  sub_1400ABC50((__int64)v2);\n  *(_QWORD *)v2 = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 40) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 41) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 42) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 43) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 44) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 51) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 54) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 68) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 97) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 98) = &LevelPickerPopup::`vftable';\n  *((_QWORD *)v2 + 99) = 0;\n  *((_QWORD *)v2 + 100) = 0;\n  *((_WORD *)v2 + 404) = 0;\n  v2[810] = 0;\n  *((_QWORD *)v2 + 102) = 0;\n  *((_QWORD *)v2 + 103) = 0;\n  *((_DWORD *)v2 + 208) = 0;\n  *(_OWORD *)(v2 + 840) = 0;\n  *((_QWORD *)v2 + 107) = 0;\n  *((_QWORD *)v2 + 108) = 15;\n  v2[840] = 0;\n  *((_QWORD *)v2 + 109) = 0;\n  *((_OWORD *)v2 + 55) = 0;\n  *((_QWORD *)v2 + 112) = 0;\n  *((_QWORD *)v2 + 113) = 15;\n  v2[880] = 0;\n  *((_QWORD *)v2 + 114) = 0;\n  *((_QWORD *)v2 + 115) = 0;\n  *((_QWORD *)v2 + 116) = 0;\n  *((_QWORD *)v2 + 117) = 0;\n  *((_QWORD *)v2 + 118) = 0;\n  *((_QWORD *)v2 + 119) = 0;\n  *((_QWORD *)v2 + 120) = 0;\n  *((_QWORD *)v2 + 121) = 0;\n  *((_QWORD *)v2 + 122) = 0;\n  *((_QWORD *)v2 + 123) = 0;\n  *((_QWORD *)v2 + 124) = 0;\n  *((_QWORD *)v2 + 125) = 0;\n  *((_QWORD *)v2 + 126) = 0;\n  *((_QWORD *)v2 + 127) = 0;\n  *((_QWORD *)v2 + 128) = 0;\n  *((_QWORD *)v2 + 129) = 0;\n  *((_QWORD *)v2 + 130) = 0;\n  *(_OWORD *)(v2 + 1048) = 0;\n  *((_QWORD *)v2 + 133) = 0;\n  *((_QWORD *)v2 + 134) = 15;\n  v2[1048] = 0;\n  v2[1080] = 0;\n  if ( (unsigned __int8)LevelPickerPopup::init(v2, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v2);\n    return v2;\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *, __int64))(*(_QWORD *)v2 + 8LL))(v2, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; LevelPickerPopup::create from 0x1400e8b60 to 0x1400e8d8c (556 bytes)\n; \n; 3 xrefs:\n; > ThreadViewPopup::onShareLevel @ 0x1400dc922\n; > NewThreadPopup::onShareLevel @ 0x1400f1310\n; > <???> @ 0x140914de0\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:26:33 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1400e8b60\nmov     [rsp+arg_10], rsi                                              ; +0x5, 0x1400e8b65\npush    rdi                                                            ; +0xa, 0x1400e8b6a\nsub     rsp, 20h                                                       ; +0xb, 0x1400e8b6b\nmov     rbx, rcx                                                       ; +0xf, 0x1400e8b6f\nmov     ecx, 440h; Size                                                ; +0x12, 0x1400e8b72\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x17, 0x1400e8b77\nmov     rdi, rax                                                       ; +0x1c, 0x1400e8b7c\nmov     [rsp+28h+arg_8], rax                                           ; +0x1f, 0x1400e8b7f\nmov     rcx, rax                                                       ; +0x24, 0x1400e8b84\ncall    sub_1400ABC50                                                  ; +0x27, 0x1400e8b87\nlea     rax, ??_7LevelPickerPopup@@6B@; const LevelPickerPopup::`vftable' ; +0x2c, 0x1400e8b8c\nmov     [rdi], rax                                                     ; +0x33, 0x1400e8b93\nlea     rax, ??_7LevelPickerPopup@@6B@_0; const LevelPickerPopup::`vftable' ; +0x36, 0x1400e8b96\nmov     [rdi+140h], rax                                                ; +0x3d, 0x1400e8b9d\nlea     rax, ??_7LevelPickerPopup@@6B@_1; const LevelPickerPopup::`vftable' ; +0x44, 0x1400e8ba4\nmov     [rdi+148h], rax                                                ; +0x4b, 0x1400e8bab\nlea     rax, ??_7LevelPickerPopup@@6B@_2; const LevelPickerPopup::`vftable' ; +0x52, 0x1400e8bb2\nmov     [rdi+150h], rax                                                ; +0x59, 0x1400e8bb9\nlea     rax, ??_7LevelPickerPopup@@6B@_3; const LevelPickerPopup::`vftable' ; +0x60, 0x1400e8bc0\nmov     [rdi+158h], rax                                                ; +0x67, 0x1400e8bc7\nlea     rax, ??_7LevelPickerPopup@@6B@_4; const LevelPickerPopup::`vftable' ; +0x6e, 0x1400e8bce\nmov     [rdi+160h], rax                                                ; +0x75, 0x1400e8bd5\nlea     rax, ??_7LevelPickerPopup@@6B@_5; const LevelPickerPopup::`vftable' ; +0x7c, 0x1400e8bdc\nmov     [rdi+198h], rax                                                ; +0x83, 0x1400e8be3\nlea     rax, ??_7LevelPickerPopup@@6B@_6; const LevelPickerPopup::`vftable' ; +0x8a, 0x1400e8bea\nmov     [rdi+1B0h], rax                                                ; +0x91, 0x1400e8bf1\nlea     rax, ??_7LevelPickerPopup@@6B@_7; const LevelPickerPopup::`vftable' ; +0x98, 0x1400e8bf8\nmov     [rdi+220h], rax                                                ; +0x9f, 0x1400e8bff\nlea     rax, ??_7LevelPickerPopup@@6B@_8; const LevelPickerPopup::`vftable' ; +0xa6, 0x1400e8c06\nmov     [rdi+308h], rax                                                ; +0xad, 0x1400e8c0d\nlea     rax, ??_7LevelPickerPopup@@6B@_9; const LevelPickerPopup::`vftable' ; +0xb4, 0x1400e8c14\nmov     [rdi+310h], rax                                                ; +0xbb, 0x1400e8c1b\nxor     esi, esi                                                       ; +0xc2, 0x1400e8c22\nmov     [rdi+318h], rsi                                                ; +0xc4, 0x1400e8c24\nmov     [rdi+320h], rsi                                                ; +0xcb, 0x1400e8c2b\nmov     [rdi+328h], si                                                 ; +0xd2, 0x1400e8c32\nmov     [rdi+32Ah], sil                                                ; +0xd9, 0x1400e8c39\nmov     [rdi+330h], rsi                                                ; +0xe0, 0x1400e8c40\nmov     [rdi+338h], rsi                                                ; +0xe7, 0x1400e8c47\nmov     [rdi+340h], esi                                                ; +0xee, 0x1400e8c4e\nxorps   xmm0, xmm0                                                     ; +0xf4, 0x1400e8c54\nmovups  xmmword ptr [rdi+348h], xmm0                                   ; +0xf7, 0x1400e8c57\nmov     [rdi+358h], rsi                                                ; +0xfe, 0x1400e8c5e\nmov     qword ptr [rdi+360h], 0Fh                                      ; +0x105, 0x1400e8c65\nmov     [rdi+348h], sil                                                ; +0x110, 0x1400e8c70\nmov     [rdi+368h], rsi                                                ; +0x117, 0x1400e8c77\nmovups  xmmword ptr [rdi+370h], xmm0                                   ; +0x11e, 0x1400e8c7e\nmov     [rdi+380h], rsi                                                ; +0x125, 0x1400e8c85\nmov     qword ptr [rdi+388h], 0Fh                                      ; +0x12c, 0x1400e8c8c\nmov     [rdi+370h], sil                                                ; +0x137, 0x1400e8c97\nmov     [rdi+390h], rsi                                                ; +0x13e, 0x1400e8c9e\nmov     [rdi+398h], rsi                                                ; +0x145, 0x1400e8ca5\nmov     [rdi+3A0h], rsi                                                ; +0x14c, 0x1400e8cac\nmov     [rdi+3A8h], rsi                                                ; +0x153, 0x1400e8cb3\nmov     [rdi+3B0h], rsi                                                ; +0x15a, 0x1400e8cba\nmov     [rdi+3B8h], rsi                                                ; +0x161, 0x1400e8cc1\nmov     [rdi+3C0h], rsi                                                ; +0x168, 0x1400e8cc8\nmov     [rdi+3C8h], rsi                                                ; +0x16f, 0x1400e8ccf\nmov     [rdi+3D0h], rsi                                                ; +0x176, 0x1400e8cd6\nmov     [rdi+3D8h], rsi                                                ; +0x17d, 0x1400e8cdd\nmov     [rdi+3E0h], rsi                                                ; +0x184, 0x1400e8ce4\nmov     [rdi+3E8h], rsi                                                ; +0x18b, 0x1400e8ceb\nmov     [rdi+3F0h], rsi                                                ; +0x192, 0x1400e8cf2\nmov     [rdi+3F8h], rsi                                                ; +0x199, 0x1400e8cf9\nmov     [rdi+400h], rsi                                                ; +0x1a0, 0x1400e8d00\nmov     [rdi+408h], rsi                                                ; +0x1a7, 0x1400e8d07\nmov     [rdi+410h], rsi                                                ; +0x1ae, 0x1400e8d0e\nmovups  xmmword ptr [rdi+418h], xmm0                                   ; +0x1b5, 0x1400e8d15\nmov     [rdi+428h], rsi                                                ; +0x1bc, 0x1400e8d1c\nmov     qword ptr [rdi+430h], 0Fh                                      ; +0x1c3, 0x1400e8d23\nmov     [rdi+418h], sil                                                ; +0x1ce, 0x1400e8d2e\nmov     [rdi+438h], sil                                                ; +0x1d5, 0x1400e8d35\nmov     rdx, rbx                                                       ; +0x1dc, 0x1400e8d3c\nmov     rcx, rdi                                                       ; +0x1df, 0x1400e8d3f\ncall    LevelPickerPopup__init                                         ; +0x1e2, 0x1400e8d42\ntest    al, al                                                         ; +0x1e7, 0x1400e8d47\njz      short loc_1400E8D67                                            ; +0x1e9, 0x1400e8d49\nmov     rcx, rdi                                                       ; +0x1eb, 0x1400e8d4b\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x1ee, 0x1400e8d4e\nmov     rax, rdi                                                       ; +0x1f4, 0x1400e8d54\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x1f7, 0x1400e8d57\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x1fc, 0x1400e8d5c\nadd     rsp, 20h                                                       ; +0x201, 0x1400e8d61\npop     rdi                                                            ; +0x205, 0x1400e8d65\nretn                                                                   ; +0x206, 0x1400e8d66\nmov     rcx, [rdi]                                                     ; +0x207, 0x1400e8d67\nmov     r8, [rcx+8]                                                    ; +0x20a, 0x1400e8d6a\nmov     edx, 1                                                         ; +0x20e, 0x1400e8d6e\nmov     rcx, rdi                                                       ; +0x213, 0x1400e8d73\ncall    r8                                                             ; +0x216, 0x1400e8d76\nmov     rax, rsi                                                       ; +0x219, 0x1400e8d79\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x21c, 0x1400e8d7c\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x221, 0x1400e8d81\nadd     rsp, 20h                                                       ; +0x226, 0x1400e8d86\npop     rdi                                                            ; +0x22a, 0x1400e8d8a\nretn                                                                   ; +0x22b, 0x1400e8d8b", "xrefs": ["ThreadViewPopup::onShareLevel @ 0x1400dc922", "NewThreadPopup::onShareLevel @ 0x1400f1310", "<???> @ 0x140914de0"], "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"}