{"type": "func", "start": 4304829040, "end": 4304829292, "name": "CommentOptionsPopup::create", "pseudocode": "// \n// CommentOptionsPopup::create from 0x100967a70 to 0x100967b6c (252 bytes)\n// \n// 2 xrefs:\n// > CommentCell::onMoreOptions @ 0x10023e29d\n// > CommentCell::onMoreOptions @ 0x10023e2c5\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:48 +0000\n// \n\n_QWORD *__fastcall CommentOptionsPopup::create(__int64 a1, unsigned __int8 a2)\n{\n  _QWORD *v2; // rbx\n\n  v2 = operator new(0x400u);\n  SetupTriggerPopup::SetupTriggerPopup((__int64)v2);\n  *v2 = off_100BCBF00;\n  v2[40] = off_100BCC4F0;\n  v2[41] = &off_100BCC560;\n  v2[42] = off_100BCC578;\n  v2[43] = off_100BCC598;\n  v2[44] = off_100BCC5C0;\n  v2[51] = off_100BCC5F0;\n  v2[54] = off_100BCC670;\n  v2[68] = off_100BCC690;\n  v2[83] = &off_100BCC6D8;\n  v2[84] = off_100BCC6F0;\n  v2[127] = 0;\n  if ( (unsigned __int8)CommentOptionsPopup::init(v2, a1, a2) )\n  {\n    cocos2d::CCObject::autorelease((__int64)v2);\n  }\n  else\n  {\n    (*(void (__fastcall **)(_QWORD *))(*v2 + 16LL))(v2);\n    return nullptr;\n  }\n  return v2;\n}", "assembly": "; \n; CommentOptionsPopup::create from 0x100967a70 to 0x100967b6c (252 bytes)\n; \n; 2 xrefs:\n; > CommentCell::onMoreOptions @ 0x10023e29d\n; > CommentCell::onMoreOptions @ 0x10023e2c5\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:48 +0000\n; \npush    rbp                                                            ; +0x0, 0x100967a70\nmov     rbp, rsp                                                       ; +0x1, 0x100967a71\npush    r15                                                            ; +0x4, 0x100967a74\npush    r14                                                            ; +0x6, 0x100967a76\npush    rbx                                                            ; +0x8, 0x100967a78\npush    rax                                                            ; +0x9, 0x100967a79\nmov     r15d, esi                                                      ; +0xa, 0x100967a7a\nmov     r14, rdi                                                       ; +0xd, 0x100967a7d\nmov     edi, 400h; __sz                                                ; +0x10, 0x100967a80\ncall    __Znwm; operator new(ulong)                                    ; +0x15, 0x100967a85\nmov     rbx, rax                                                       ; +0x1a, 0x100967a8a\nmov     rdi, rax                                                       ; +0x1d, 0x100967a8d\ncall    SetupTriggerPopup__SetupTriggerPopup                           ; +0x20, 0x100967a90\nlea     rax, off_100BCBF00                                             ; +0x25, 0x100967a95\nmov     [rbx], rax                                                     ; +0x2c, 0x100967a9c\nlea     rax, off_100BCC4F0                                             ; +0x2f, 0x100967a9f\nmov     [rbx+140h], rax                                                ; +0x36, 0x100967aa6\nlea     rax, off_100BCC560                                             ; +0x3d, 0x100967aad\nmov     [rbx+148h], rax                                                ; +0x44, 0x100967ab4\nlea     rax, off_100BCC578                                             ; +0x4b, 0x100967abb\nmov     [rbx+150h], rax                                                ; +0x52, 0x100967ac2\nlea     rax, off_100BCC598                                             ; +0x59, 0x100967ac9\nmov     [rbx+158h], rax                                                ; +0x60, 0x100967ad0\nlea     rax, off_100BCC5C0                                             ; +0x67, 0x100967ad7\nmov     [rbx+160h], rax                                                ; +0x6e, 0x100967ade\nlea     rax, off_100BCC5F0                                             ; +0x75, 0x100967ae5\nmov     [rbx+198h], rax                                                ; +0x7c, 0x100967aec\nlea     rax, off_100BCC670                                             ; +0x83, 0x100967af3\nmov     [rbx+1B0h], rax                                                ; +0x8a, 0x100967afa\nlea     rax, off_100BCC690                                             ; +0x91, 0x100967b01\nmov     [rbx+220h], rax                                                ; +0x98, 0x100967b08\nlea     rax, off_100BCC6D8                                             ; +0x9f, 0x100967b0f\nmov     [rbx+298h], rax                                                ; +0xa6, 0x100967b16\nlea     rax, off_100BCC6F0                                             ; +0xad, 0x100967b1d\nmov     [rbx+2A0h], rax                                                ; +0xb4, 0x100967b24\nmov     qword ptr [rbx+3F8h], 0                                        ; +0xbb, 0x100967b2b\nmovzx   edx, r15b                                                      ; +0xc6, 0x100967b36\nmov     rdi, rbx                                                       ; +0xca, 0x100967b3a\nmov     rsi, r14                                                       ; +0xcd, 0x100967b3d\ncall    CommentOptionsPopup__init                                      ; +0xd0, 0x100967b40\ntest    al, al                                                         ; +0xd5, 0x100967b45\njz      short loc_100967B53                                            ; +0xd7, 0x100967b47\nmov     rdi, rbx                                                       ; +0xd9, 0x100967b49\ncall    cocos2d__CCObject__autorelease                                 ; +0xdc, 0x100967b4c\njmp     short loc_100967B5E                                            ; +0xe1, 0x100967b51\nmov     rax, [rbx]                                                     ; +0xe3, 0x100967b53\nmov     rdi, rbx                                                       ; +0xe6, 0x100967b56\ncall    qword ptr [rax+10h]                                            ; +0xe9, 0x100967b59\nxor     ebx, ebx                                                       ; +0xec, 0x100967b5c\nmov     rax, rbx                                                       ; +0xee, 0x100967b5e\nadd     rsp, 8                                                         ; +0xf1, 0x100967b61\npop     rbx                                                            ; +0xf5, 0x100967b65\npop     r14                                                            ; +0xf6, 0x100967b66\npop     r15                                                            ; +0xf8, 0x100967b68\npop     rbp                                                            ; +0xfa, 0x100967b6a\nretn                                                                   ; +0xfb, 0x100967b6b", "xrefs": ["CommentCell::onMoreOptions @ 0x10023e29d", "CommentCell::onMoreOptions @ 0x10023e2c5"], "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"}