{"type": "func", "start": 6442947728, "end": 6442947881, "name": "cocos2d::CCEGLView::create", "pseudocode": "// \n// cocos2d::CCEGLView::create from 0x180079490 to 0x180079529 (153 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCApplication::setupGLView @ 0x18007696a\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801beba8\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:21:59 +0000\n// \n\n// Hidden C++ exception states: #wind=1\ncocos2d::CCEGLView *cocos2d::CCEGLView::create()\n{\n  cocos2d::CCEGLView *v0; // rax\n  cocos2d::CCEGLView *v1; // rbx\n  _BYTE v3[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v0 = (cocos2d::CCEGLView *)sub_1800E4AC0(0xF0u);\n  if ( v0 )\n    v1 = cocos2d::CCEGLView::CCEGLView(v0);\n  else\n    v1 = nullptr;\n  if ( !v1 )\n    return nullptr;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v3, 0.0, 0.0, 960.0, 640.0);\n  if ( !(unsigned __int8)cocos2d::CCEGLView::initWithRect(v1) )\n    return nullptr;\n  cocos2d::CCObject::autorelease((cocos2d::CCEGLView *)((char *)v1 + 120));\n  return v1;\n}", "assembly": "; \n; cocos2d::CCEGLView::create from 0x180079490 to 0x180079529 (153 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCApplication::setupGLView @ 0x18007696a\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801beba8\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:21:59 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180079490\npush    rdi                                                            ; +0x5, 0x180079495\nsub     rsp, 40h                                                       ; +0x6, 0x180079496\nmov     rdi, rcx                                                       ; +0xa, 0x18007949a\nmov     ecx, 0F0h; Size                                                ; +0xd, 0x18007949d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x1800794a2\nmov     [rsp+48h+arg_8], rax                                           ; +0x17, 0x1800794a7\ntest    rax, rax                                                       ; +0x1c, 0x1800794ac\njz      short loc_1800794BE                                            ; +0x1f, 0x1800794af\nmov     rcx, rax; this                                                 ; +0x21, 0x1800794b1\ncall    ??0CCEGLView@cocos2d@@IEAA@XZ; cocos2d::CCEGLView::CCEGLView(void) ; +0x24, 0x1800794b4\nmov     rbx, rax                                                       ; +0x29, 0x1800794b9\njmp     short loc_1800794C0                                            ; +0x2c, 0x1800794bc\nxor     ebx, ebx                                                       ; +0x2e, 0x1800794be\ntest    rbx, rbx                                                       ; +0x30, 0x1800794c0\njz      short loc_18007951C                                            ; +0x33, 0x1800794c3\nmovss   xmm0, cs:flt_180107728                                         ; +0x35, 0x1800794c5\nmovss   [rsp+48h+var_28], xmm0; float                                  ; +0x3d, 0x1800794cd\nmovss   xmm3, cs:flt_18010772C; float                                  ; +0x43, 0x1800794d3\nxorps   xmm2, xmm2; float                                              ; +0x4b, 0x1800794db\nxorps   xmm1, xmm1; float                                              ; +0x4e, 0x1800794de\nlea     rcx, [rsp+48h+var_18]; this                                    ; +0x51, 0x1800794e1\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0x56, 0x1800794e6\nmov     r8, rax                                                        ; +0x5b, 0x1800794eb\nmovss   xmm3, cs:flt_1800EC208                                         ; +0x5e, 0x1800794ee\nmov     rdx, rdi                                                       ; +0x66, 0x1800794f6\nmov     rcx, rbx; this                                                 ; +0x69, 0x1800794f9\ncall    ?initWithRect@CCEGLView@cocos2d@@IEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@VCCRect@2@M@Z; cocos2d::CCEGLView::initWithRect(std::string const &,cocos2d::CCRect,float) ; +0x6c, 0x1800794fc\ntest    al, al                                                         ; +0x71, 0x180079501\njz      short loc_18007951C                                            ; +0x73, 0x180079503\nlea     rcx, [rbx+78h]; this                                           ; +0x75, 0x180079505\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x79, 0x180079509\nmov     rax, rbx                                                       ; +0x7e, 0x18007950e\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x81, 0x180079511\nadd     rsp, 40h                                                       ; +0x86, 0x180079516\npop     rdi                                                            ; +0x8a, 0x18007951a\nretn                                                                   ; +0x8b, 0x18007951b\nxor     eax, eax                                                       ; +0x8c, 0x18007951c\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x8e, 0x18007951e\nadd     rsp, 40h                                                       ; +0x93, 0x180079523\npop     rdi                                                            ; +0x97, 0x180079527\nretn                                                                   ; +0x98, 0x180079528", "xrefs": ["cocos2d::CCApplication::setupGLView @ 0x18007696a", "<???> @ 0x18014cf68", "<???> @ 0x1801beba8"], "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"}