{"type": "func", "start": 4297747264, "end": 4297747623, "name": "GJMessagePopup::create", "pseudocode": "// \n// GJMessagePopup::create from 0x1002a6b40 to 0x1002a6ca7 (359 bytes)\n// \n// 2 xrefs:\n// > GJMessageCell::onViewMessage @ 0x1002585ba\n// > GJWriteMessagePopup::closeMessagePopup @ 0x1002aa2d1\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nGJMessagePopup *__fastcall GJMessagePopup::create(GJUserMessage *a1)\n{\n  char *v1; // rbx\n\n  v1 = (char *)operator new(0x2C8u);\n  cocos2d::CCLayerColor::CCLayerColor(v1);\n  *((_QWORD *)v1 + 72) = 0;\n  *((_DWORD *)v1 + 146) = 0;\n  v1[588] = 0;\n  *((_OWORD *)v1 + 34) = 0;\n  *(_OWORD *)(v1 + 553) = 0;\n  *((_OWORD *)v1 + 37) = 0;\n  *((_QWORD *)v1 + 76) = 0;\n  *((_DWORD *)v1 + 154) = -1;\n  *((_WORD *)v1 + 310) = 0;\n  *((_DWORD *)v1 + 156) = -1;\n  v1[628] = 0;\n  *(_QWORD *)v1 = off_1008FA9F0;\n  *((_QWORD *)v1 + 40) = off_1008FAF40;\n  *((_QWORD *)v1 + 41) = &off_1008FAFB0;\n  *((_QWORD *)v1 + 42) = off_1008FAFC8;\n  *((_QWORD *)v1 + 43) = off_1008FAFE8;\n  *((_QWORD *)v1 + 44) = off_1008FB008;\n  *((_QWORD *)v1 + 51) = off_1008FB030;\n  *((_QWORD *)v1 + 54) = off_1008FB0B0;\n  *((_QWORD *)v1 + 79) = off_1008FB0D0;\n  *((_QWORD *)v1 + 80) = &off_1008FB0F0;\n  *((_QWORD *)v1 + 81) = &off_1008FB108;\n  *((_QWORD *)v1 + 82) = off_1008FB120;\n  v1[664] = 0;\n  *(_OWORD *)(v1 + 696) = 0;\n  *(_OWORD *)(v1 + 680) = 0;\n  if ( GJMessagePopup::init((GJMessagePopup *)v1, a1) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v1);\n  }\n  else\n  {\n    (*(void (__fastcall **)(char *))(*(_QWORD *)v1 + 16LL))(v1);\n    return nullptr;\n  }\n  return (GJMessagePopup *)v1;\n}", "assembly": "; \n; GJMessagePopup::create from 0x1002a6b40 to 0x1002a6ca7 (359 bytes)\n; \n; 2 xrefs:\n; > GJMessageCell::onViewMessage @ 0x1002585ba\n; > GJWriteMessagePopup::closeMessagePopup @ 0x1002aa2d1\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x1002a6b40\nmov     rbp, rsp                                                       ; +0x1, 0x1002a6b41\npush    r14                                                            ; +0x4, 0x1002a6b44\npush    rbx                                                            ; +0x6, 0x1002a6b46\nmov     r14, rdi                                                       ; +0x7, 0x1002a6b47\nmov     edi, 2C8h; __sz                                                ; +0xa, 0x1002a6b4a\ncall    __Znwm; operator new(ulong)                                    ; +0xf, 0x1002a6b4f\nmov     rbx, rax                                                       ; +0x14, 0x1002a6b54\nmov     rdi, rax                                                       ; +0x17, 0x1002a6b57\ncall    cocos2d__CCLayerColor__CCLayerColor                            ; +0x1a, 0x1002a6b5a\nmov     qword ptr [rbx+240h], 0                                        ; +0x1f, 0x1002a6b5f\nmov     dword ptr [rbx+248h], 0                                        ; +0x2a, 0x1002a6b6a\nmov     byte ptr [rbx+24Ch], 0                                         ; +0x34, 0x1002a6b74\nxorps   xmm0, xmm0                                                     ; +0x3b, 0x1002a6b7b\nmovups  xmmword ptr [rbx+220h], xmm0                                   ; +0x3e, 0x1002a6b7e\nmovups  xmmword ptr [rbx+229h], xmm0                                   ; +0x45, 0x1002a6b85\nmovups  xmmword ptr [rbx+250h], xmm0                                   ; +0x4c, 0x1002a6b8c\nmov     qword ptr [rbx+260h], 0                                        ; +0x53, 0x1002a6b93\nmov     dword ptr [rbx+268h], 0FFFFFFFFh                               ; +0x5e, 0x1002a6b9e\nmov     word ptr [rbx+26Ch], 0                                         ; +0x68, 0x1002a6ba8\nmov     dword ptr [rbx+270h], 0FFFFFFFFh                               ; +0x71, 0x1002a6bb1\nmov     byte ptr [rbx+274h], 0                                         ; +0x7b, 0x1002a6bbb\nlea     rax, off_1008FA9F0                                             ; +0x82, 0x1002a6bc2\nmov     [rbx], rax                                                     ; +0x89, 0x1002a6bc9\nlea     rax, off_1008FAF40                                             ; +0x8c, 0x1002a6bcc\nmov     [rbx+140h], rax                                                ; +0x93, 0x1002a6bd3\nlea     rax, off_1008FAFB0                                             ; +0x9a, 0x1002a6bda\nmov     [rbx+148h], rax                                                ; +0xa1, 0x1002a6be1\nlea     rax, off_1008FAFC8                                             ; +0xa8, 0x1002a6be8\nmov     [rbx+150h], rax                                                ; +0xaf, 0x1002a6bef\nlea     rax, off_1008FAFE8                                             ; +0xb6, 0x1002a6bf6\nmov     [rbx+158h], rax                                                ; +0xbd, 0x1002a6bfd\nlea     rax, off_1008FB008                                             ; +0xc4, 0x1002a6c04\nmov     [rbx+160h], rax                                                ; +0xcb, 0x1002a6c0b\nlea     rax, off_1008FB030                                             ; +0xd2, 0x1002a6c12\nmov     [rbx+198h], rax                                                ; +0xd9, 0x1002a6c19\nlea     rax, off_1008FB0B0                                             ; +0xe0, 0x1002a6c20\nmov     [rbx+1B0h], rax                                                ; +0xe7, 0x1002a6c27\nlea     rax, off_1008FB0D0                                             ; +0xee, 0x1002a6c2e\nmov     [rbx+278h], rax                                                ; +0xf5, 0x1002a6c35\nlea     rax, off_1008FB0F0                                             ; +0xfc, 0x1002a6c3c\nmov     [rbx+280h], rax                                                ; +0x103, 0x1002a6c43\nlea     rax, off_1008FB108                                             ; +0x10a, 0x1002a6c4a\nmov     [rbx+288h], rax                                                ; +0x111, 0x1002a6c51\nlea     rax, off_1008FB120                                             ; +0x118, 0x1002a6c58\nmov     [rbx+290h], rax                                                ; +0x11f, 0x1002a6c5f\nmov     byte ptr [rbx+298h], 0                                         ; +0x126, 0x1002a6c66\nmovups  xmmword ptr [rbx+2B8h], xmm0                                   ; +0x12d, 0x1002a6c6d\nmovups  xmmword ptr [rbx+2A8h], xmm0                                   ; +0x134, 0x1002a6c74\nmov     rdi, rbx                                                       ; +0x13b, 0x1002a6c7b\nmov     rsi, r14                                                       ; +0x13e, 0x1002a6c7e\ncall    GJMessagePopup__init                                           ; +0x141, 0x1002a6c81\ntest    al, al                                                         ; +0x146, 0x1002a6c86\njz      short loc_1002A6C94                                            ; +0x148, 0x1002a6c88\nmov     rdi, rbx                                                       ; +0x14a, 0x1002a6c8a\ncall    cocos2d__CCObject__autorelease                                 ; +0x14d, 0x1002a6c8d\njmp     short loc_1002A6C9F                                            ; +0x152, 0x1002a6c92\nmov     rax, [rbx]                                                     ; +0x154, 0x1002a6c94\nmov     rdi, rbx                                                       ; +0x157, 0x1002a6c97\ncall    qword ptr [rax+10h]                                            ; +0x15a, 0x1002a6c9a\nxor     ebx, ebx                                                       ; +0x15d, 0x1002a6c9d\nmov     rax, rbx                                                       ; +0x15f, 0x1002a6c9f\npop     rbx                                                            ; +0x162, 0x1002a6ca2\npop     r14                                                            ; +0x163, 0x1002a6ca3\npop     rbp                                                            ; +0x165, 0x1002a6ca5\nretn                                                                   ; +0x166, 0x1002a6ca6", "xrefs": ["GJMessageCell::onViewMessage @ 0x1002585ba", "GJWriteMessagePopup::closeMessagePopup @ 0x1002aa2d1"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}