{"type": "func", "start": 4304413920, "end": 4304414283, "name": "EmotePickerPopup::create", "pseudocode": "// \n// EmotePickerPopup::create from 0x1009024e0 to 0x10090264b (363 bytes)\n// \n// 1 xrefs:\n// > EmotePickerPopup::toggle @ 0x100902b31\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 12:38:03 +0000\n// \n\n_QWORD *__fastcall EmotePickerPopup::create(__int64 a1, _QWORD *a2, unsigned int a3, unsigned int a4)\n{\n  _QWORD *v6; // rbx\n  __int64 v8; // [rsp+8h] [rbp-38h] BYREF\n  _QWORD *v9; // [rsp+10h] [rbp-30h]\n\n  v6 = operator new(0x4D8u);\n  __bzero(v6, 1240);\n  EditorWindowPopup::EditorWindowPopup((__int64)v6);\n  v9 = a2;\n  *v6 = off_100BB8E50;\n  v6[40] = off_100BB9460;\n  v6[41] = &off_100BB94D0;\n  v6[42] = off_100BB94E8;\n  v6[43] = off_100BB9508;\n  v6[44] = off_100BB9530;\n  v6[51] = off_100BB9560;\n  v6[54] = off_100BB95E0;\n  v6[68] = off_100BB9600;\n  v6[83] = &off_100BB9648;\n  v6[84] = off_100BB9660;\n  *((_OWORD *)v6 + 73) = 0;\n  v6[148] = 0;\n  sub_1002787A0(v6 + 149);\n  *((_DWORD *)v6 + 302) = -1;\n  *((_OWORD *)v6 + 76) = 0;\n  v6[154] = 0;\n  sub_1002782D0(&v8, v9);\n  if ( (unsigned __int8)EmotePickerPopup::init(v6, a1, &v8, a3, a4) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v6);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v6 + 16LL))(v6);\n    return nullptr;\n  }\n  return v6;\n}", "assembly": "; \n; EmotePickerPopup::create from 0x1009024e0 to 0x10090264b (363 bytes)\n; \n; 1 xrefs:\n; > EmotePickerPopup::toggle @ 0x100902b31\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 12:38:03 +0000\n; \npush    rbp                                                            ; +0x0, 0x1009024e0\nmov     rbp, rsp                                                       ; +0x1, 0x1009024e1\npush    r15                                                            ; +0x4, 0x1009024e4\npush    r14                                                            ; +0x6, 0x1009024e6\npush    r13                                                            ; +0x8, 0x1009024e8\npush    r12                                                            ; +0xa, 0x1009024ea\npush    rbx                                                            ; +0xc, 0x1009024ec\nsub     rsp, 18h                                                       ; +0xd, 0x1009024ed\nmov     r15d, ecx                                                      ; +0x11, 0x1009024f1\nmov     r12d, edx                                                      ; +0x14, 0x1009024f4\nmov     r14, rsi                                                       ; +0x17, 0x1009024f7\nmov     r13, rdi                                                       ; +0x1a, 0x1009024fa\nmov     edi, 4D8h; __sz                                                ; +0x1d, 0x1009024fd\ncall    __Znwm; operator new(ulong)                                    ; +0x22, 0x100902502\nmov     rbx, rax                                                       ; +0x27, 0x100902507\nmov     esi, 4D8h                                                      ; +0x2a, 0x10090250a\nmov     rdi, rax                                                       ; +0x2f, 0x10090250f\ncall    ___bzero                                                       ; +0x32, 0x100902512\nmov     rdi, rbx                                                       ; +0x37, 0x100902517\ncall    EditorWindowPopup__EditorWindowPopup                           ; +0x3a, 0x10090251a\nmov     [rbp+var_30], r14                                              ; +0x3f, 0x10090251f\nlea     rax, off_100BB8E50                                             ; +0x43, 0x100902523\nmov     [rbx], rax                                                     ; +0x4a, 0x10090252a\nlea     rax, off_100BB9460                                             ; +0x4d, 0x10090252d\nmov     [rbx+140h], rax                                                ; +0x54, 0x100902534\nlea     rax, off_100BB94D0                                             ; +0x5b, 0x10090253b\nmov     [rbx+148h], rax                                                ; +0x62, 0x100902542\nlea     rax, off_100BB94E8                                             ; +0x69, 0x100902549\nmov     [rbx+150h], rax                                                ; +0x70, 0x100902550\nlea     rax, off_100BB9508                                             ; +0x77, 0x100902557\nmov     [rbx+158h], rax                                                ; +0x7e, 0x10090255e\nlea     rax, off_100BB9530                                             ; +0x85, 0x100902565\nmov     [rbx+160h], rax                                                ; +0x8c, 0x10090256c\nlea     rax, off_100BB9560                                             ; +0x93, 0x100902573\nmov     [rbx+198h], rax                                                ; +0x9a, 0x10090257a\nlea     rax, off_100BB95E0                                             ; +0xa1, 0x100902581\nmov     [rbx+1B0h], rax                                                ; +0xa8, 0x100902588\nlea     rax, off_100BB9600                                             ; +0xaf, 0x10090258f\nmov     [rbx+220h], rax                                                ; +0xb6, 0x100902596\nlea     rax, off_100BB9648                                             ; +0xbd, 0x10090259d\nmov     [rbx+298h], rax                                                ; +0xc4, 0x1009025a4\nlea     rax, off_100BB9660                                             ; +0xcb, 0x1009025ab\nmov     [rbx+2A0h], rax                                                ; +0xd2, 0x1009025b2\nmov     rdi, rbx                                                       ; +0xd9, 0x1009025b9\nadd     rdi, 4A8h                                                      ; +0xdc, 0x1009025bc\nxorps   xmm0, xmm0                                                     ; +0xe3, 0x1009025c3\nmovups  xmmword ptr [rbx+490h], xmm0                                   ; +0xe6, 0x1009025c6\nmov     qword ptr [rbx+4A0h], 0                                        ; +0xed, 0x1009025cd\ncall    sub_1002787A0                                                  ; +0xf8, 0x1009025d8\nmov     dword ptr [rbx+4B8h], 0FFFFFFFFh                               ; +0xfd, 0x1009025dd\nxorps   xmm0, xmm0                                                     ; +0x107, 0x1009025e7\nmovups  xmmword ptr [rbx+4C0h], xmm0                                   ; +0x10a, 0x1009025ea\nmov     qword ptr [rbx+4D0h], 0                                        ; +0x111, 0x1009025f1\nlea     r14, [rbp+var_38]                                              ; +0x11c, 0x1009025fc\nmov     rdi, r14                                                       ; +0x120, 0x100902600\nmov     rsi, [rbp+var_30]                                              ; +0x123, 0x100902603\ncall    sub_1002782D0                                                  ; +0x127, 0x100902607\nmov     rdi, rbx                                                       ; +0x12c, 0x10090260c\nmov     rsi, r13                                                       ; +0x12f, 0x10090260f\nmov     rdx, r14                                                       ; +0x132, 0x100902612\nmov     ecx, r12d                                                      ; +0x135, 0x100902615\nmov     r8d, r15d                                                      ; +0x138, 0x100902618\ncall    EmotePickerPopup__init                                         ; +0x13b, 0x10090261b\ntest    al, al                                                         ; +0x140, 0x100902620\njz      short loc_10090262E                                            ; +0x142, 0x100902622\nmov     rdi, rbx                                                       ; +0x144, 0x100902624\ncall    cocos2d__CCObject__autorelease                                 ; +0x147, 0x100902627\njmp     short loc_100902639                                            ; +0x14c, 0x10090262c\nmov     rax, [rbx]                                                     ; +0x14e, 0x10090262e\nmov     rdi, rbx                                                       ; +0x151, 0x100902631\ncall    qword ptr [rax+10h]                                            ; +0x154, 0x100902634\nxor     ebx, ebx                                                       ; +0x157, 0x100902637\nmov     rax, rbx                                                       ; +0x159, 0x100902639\nadd     rsp, 18h                                                       ; +0x15c, 0x10090263c\npop     rbx                                                            ; +0x160, 0x100902640\npop     r12                                                            ; +0x161, 0x100902641\npop     r13                                                            ; +0x163, 0x100902643\npop     r14                                                            ; +0x165, 0x100902645\npop     r15                                                            ; +0x167, 0x100902647\npop     rbp                                                            ; +0x169, 0x100902649\nretn                                                                   ; +0x16a, 0x10090264a", "xrefs": ["EmotePickerPopup::toggle @ 0x100902b31"], "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"}