{"type": "func", "start": 7996792, "end": 7996956, "name": "CommentOptionsPopup::create", "pseudocode": "// \n// CommentOptionsPopup::create from 0x7a0578 to 0x7a061c (164 bytes)\n// \n// 1 xrefs:\n// > CommentCell::onMoreOptions @ 0x424682\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:53 +0000\n// \n\nSetupTriggerPopup *__fastcall CommentOptionsPopup::create(CommentOptionsPopup *this, GJComment *a2, bool a3)\n{\n  SetupTriggerPopup *v5; // r4\n  int v6; // r3\n  SetupTriggerPopup *v7; // r0\n\n  v5 = (SetupTriggerPopup *)operator new(0x2CCu);\n  SetupTriggerPopup::SetupTriggerPopup(v5);\n  *(_DWORD *)v5 = &off_CFD510;\n  *((_DWORD *)v5 + 66) = &off_CFD808;\n  *((_DWORD *)v5 + 67) = &off_CFD840;\n  *((_DWORD *)v5 + 68) = &off_CFD84C;\n  *((_DWORD *)v5 + 69) = &off_CFD85C;\n  *((_DWORD *)v5 + 70) = &off_CFD870;\n  *((_DWORD *)v5 + 79) = &off_CFD888;\n  *((_DWORD *)v5 + 83) = &off_CFD8C8;\n  *((_DWORD *)v5 + 110) = &off_CFD8D8;\n  *((_DWORD *)v5 + 130) = &off_CFD8FC;\n  *((_DWORD *)v5 + 131) = &off_CFD908;\n  *((_DWORD *)v5 + 178) = 0;\n  if ( CommentOptionsPopup::init((cocos2d::CCPoint **)v5, this, (int)a2) )\n  {\n    cocos2d::CCObject::autorelease(v5);\n  }\n  else\n  {\n    v6 = *(_DWORD *)v5;\n    v7 = v5;\n    v5 = nullptr;\n    (*(void (__fastcall **)(SetupTriggerPopup *))(v6 + 8))(v7);\n  }\n  return v5;\n}", "assembly": "; \n; CommentOptionsPopup::create from 0x7a0578 to 0x7a061c (164 bytes)\n; \n; 1 xrefs:\n; > CommentCell::onMoreOptions @ 0x424682\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:59:53 +0000\n; \nPUSH            {R4-R6,LR}                                             ; +0x0, 0x7a0578\nMOV             R6, R0                                                 ; +0x2, 0x7a057a\nMOV.W           R0, #0x2CC; unsigned int                               ; +0x4, 0x7a057c\nMOV             R5, R1                                                 ; +0x8, 0x7a0580\nBL              _Znwj; operator new(uint)                              ; +0xa, 0x7a0582\nMOV             R4, R0                                                 ; +0xe, 0x7a0586\nBL              _ZN17SetupTriggerPopupC2Ev; SetupTriggerPopup::SetupTriggerPopup(void) ; +0x10, 0x7a0588\nLDR             R3, =(_ZTV19CommentOptionsPopup_ptr - 0x7A0596)        ; +0x14, 0x7a058c\nMOV             R0, R4; this                                           ; +0x16, 0x7a058e\nMOV             R1, R6; GJComment *                                    ; +0x18, 0x7a0590\nADD             R3, PC; _ZTV19CommentOptionsPopup_ptr                  ; +0x1a, 0x7a0592\nLDR             R3, [R3]; `vtable for'CommentOptionsPopup ...          ; +0x1c, 0x7a0594\nADD.W           R2, R3, #8                                             ; +0x1e, 0x7a0596\nSTR             R2, [R4]                                               ; +0x22, 0x7a059a\nADD.W           R2, R3, #0x300                                         ; +0x24, 0x7a059c\nSTR.W           R2, [R4,#0x108]                                        ; +0x28, 0x7a05a0\nADD.W           R2, R3, #0x338                                         ; +0x2c, 0x7a05a4\nSTR.W           R2, [R4,#0x10C]                                        ; +0x30, 0x7a05a8\nADD.W           R2, R3, #0x344                                         ; +0x34, 0x7a05ac\nSTR.W           R2, [R4,#0x110]                                        ; +0x38, 0x7a05b0\nADD.W           R2, R3, #0x354                                         ; +0x3c, 0x7a05b4\nSTR.W           R2, [R4,#0x114]                                        ; +0x40, 0x7a05b8\nADD.W           R2, R3, #0x368                                         ; +0x44, 0x7a05bc\nSTR.W           R2, [R4,#0x118]                                        ; +0x48, 0x7a05c0\nADD.W           R2, R3, #0x380                                         ; +0x4c, 0x7a05c4\nSTR.W           R2, [R4,#0x13C]                                        ; +0x50, 0x7a05c8\nADD.W           R2, R3, #0x3C0                                         ; +0x54, 0x7a05cc\nSTR.W           R2, [R4,#0x14C]                                        ; +0x58, 0x7a05d0\nADD.W           R2, R3, #0x3D0                                         ; +0x5c, 0x7a05d4\nSTR.W           R2, [R4,#0x1B8]                                        ; +0x60, 0x7a05d8\nADD.W           R2, R3, #0x3F4                                         ; +0x64, 0x7a05dc\nADD.W           R3, R3, #0x400                                         ; +0x68, 0x7a05e0\nSTR.W           R2, [R4,#0x208]                                        ; +0x6c, 0x7a05e4\nMOV             R2, R5; bool                                           ; +0x70, 0x7a05e8\nSTR.W           R3, [R4,#0x20C]                                        ; +0x72, 0x7a05ea\nMOVS            R3, #0                                                 ; +0x76, 0x7a05ee\nSTR.W           R3, [R4,#0x2C8]                                        ; +0x78, 0x7a05f0\nBL              _ZN19CommentOptionsPopup4initEP9GJCommentb; CommentOptionsPopup::init(GJComment *,bool) ; +0x7c, 0x7a05f4\nMOV             R5, R0                                                 ; +0x80, 0x7a05f8\nCBZ             R0, loc_7A060E                                         ; +0x82, 0x7a05fa\nMOV             R0, R4; this                                           ; +0x84, 0x7a05fc\nBL              _ZN7cocos2d8CCObject11autoreleaseEv; cocos2d::CCObject::autorelease(void) ; +0x86, 0x7a05fe\nB               loc_7A0618                                             ; +0x8a, 0x7a0602\nMOV             R0, R4; void *                                         ; +0x8c, 0x7a0604\nBL              _ZdlPv; operator delete(void *)                        ; +0x8e, 0x7a0606\nBL              __cxa_end_cleanup                                      ; +0x92, 0x7a060a\nLDR             R3, [R4]                                               ; +0x96, 0x7a060e\nMOV             R0, R4                                                 ; +0x98, 0x7a0610\nMOV             R4, R5                                                 ; +0x9a, 0x7a0612\nLDR             R3, [R3,#8]                                            ; +0x9c, 0x7a0614\nBLX             R3                                                     ; +0x9e, 0x7a0616\nMOV             R0, R4                                                 ; +0xa0, 0x7a0618\nPOP             {R4-R6,PC}                                             ; +0xa2, 0x7a061a", "xrefs": ["CommentCell::onMoreOptions @ 0x424682"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}