{"type": "func", "start": 6442947888, "end": 6442948018, "name": "cocos2d::CCEGLView::createWithFullScreen", "pseudocode": "// \n// cocos2d::CCEGLView::createWithFullScreen from 0x180079530 to 0x1800795b2 (130 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bebb4\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::createWithFullScreen()\n{\n  cocos2d::CCEGLView *v0; // rax\n  cocos2d::CCEGLView *v1; // rbx\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 || !(unsigned __int8)cocos2d::CCEGLView::initWithFullScreen(v1) )\n    return nullptr;\n  cocos2d::CCObject::autorelease((cocos2d::CCEGLView *)((char *)v1 + 120));\n  return v1;\n}", "assembly": "; \n; cocos2d::CCEGLView::createWithFullScreen from 0x180079530 to 0x1800795b2 (130 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bebb4\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, 0x180079530\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180079535\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18007953a\npush    rdi                                                            ; +0xf, 0x18007953f\nsub     rsp, 20h                                                       ; +0x10, 0x180079540\nmovzx   edi, r8b                                                       ; +0x14, 0x180079544\nmovzx   esi, dl                                                        ; +0x18, 0x180079548\nmov     rbp, rcx                                                       ; +0x1b, 0x18007954b\nmov     ecx, 0F0h; Size                                                ; +0x1e, 0x18007954e\ncall    sub_1800E4AC0                                                  ; +0x23, 0x180079553\nmov     [rsp+28h+arg_18], rax                                          ; +0x28, 0x180079558\ntest    rax, rax                                                       ; +0x2d, 0x18007955d\njz      short loc_18007956F                                            ; +0x30, 0x180079560\nmov     rcx, rax; this                                                 ; +0x32, 0x180079562\ncall    ??0CCEGLView@cocos2d@@IEAA@XZ; cocos2d::CCEGLView::CCEGLView(void) ; +0x35, 0x180079565\nmov     rbx, rax                                                       ; +0x3a, 0x18007956a\njmp     short loc_180079571                                            ; +0x3d, 0x18007956d\nxor     ebx, ebx                                                       ; +0x3f, 0x18007956f\ntest    rbx, rbx                                                       ; +0x41, 0x180079571\njz      short loc_18007959B                                            ; +0x44, 0x180079574\nmovzx   r9d, dil                                                       ; +0x46, 0x180079576\nmovzx   r8d, sil                                                       ; +0x4a, 0x18007957a\nmov     rdx, rbp                                                       ; +0x4e, 0x18007957e\nmov     rcx, rbx; this                                                 ; +0x51, 0x180079581\ncall    ?initWithFullScreen@CCEGLView@cocos2d@@IEAA_NAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@_N1@Z; cocos2d::CCEGLView::initWithFullScreen(std::string const &,bool,bool) ; +0x54, 0x180079584\ntest    al, al                                                         ; +0x59, 0x180079589\njz      short loc_18007959B                                            ; +0x5b, 0x18007958b\nlea     rcx, [rbx+78h]; this                                           ; +0x5d, 0x18007958d\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x61, 0x180079591\nmov     rax, rbx                                                       ; +0x66, 0x180079596\njmp     short loc_18007959D                                            ; +0x69, 0x180079599\nxor     eax, eax                                                       ; +0x6b, 0x18007959b\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6d, 0x18007959d\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x72, 0x1800795a2\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x77, 0x1800795a7\nadd     rsp, 20h                                                       ; +0x7c, 0x1800795ac\npop     rdi                                                            ; +0x80, 0x1800795b0\nretn                                                                   ; +0x81, 0x1800795b1", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bebb4"], "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"}