{"type": "func", "start": 6442950336, "end": 6442950570, "name": "cocos2d::CCEGLView::initWithFullscreen", "pseudocode": "// \n// cocos2d::CCEGLView::initWithFullscreen from 0x180079ec0 to 0x180079faa (234 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bec5c\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__int64 __fastcall cocos2d::CCEGLView::initWithFullscreen(\n        cocos2d::CCEGLView *this,\n        __int64 a2,\n        char a3,\n        char a4,\n        __int64 a5,\n        __int64 a6)\n{\n  __int64 result; // rax\n  _BYTE v8[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  result = a6;\n  *((_QWORD *)this + 26) = a6;\n  if ( a6 )\n  {\n    *((_BYTE *)this + 232) = 1;\n    *((_BYTE *)this + 233) = a3;\n    *((_BYTE *)this + 234) = a4;\n    sub_1800DCA30(135183, *(unsigned int *)(a5 + 20));\n    sub_1800DCA30(135169, *(unsigned int *)(a5 + 8));\n    sub_1800DCA30(135171, *(unsigned int *)(a5 + 16));\n    sub_1800DCA30(135170, *(unsigned int *)(a5 + 12));\n    if ( *((_BYTE *)this + 233) )\n    {\n      sub_1800DCA30(131077, 0);\n      *((_QWORD *)this + 26) = 0;\n    }\n    cocos2d::CCRect::CCRect((cocos2d::CCRect *)v8, 0.0, 0.0, (float)*(int *)a5, (float)*(int *)(a5 + 4));\n    return cocos2d::CCEGLView::initWithRect(this);\n  }\n  return result;\n}", "assembly": "; \n; cocos2d::CCEGLView::initWithFullscreen from 0x180079ec0 to 0x180079faa (234 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bec5c\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_8], rbx                                               ; +0x0, 0x180079ec0\npush    rsi                                                            ; +0x5, 0x180079ec5\nsub     rsp, 40h                                                       ; +0x6, 0x180079ec6\nmov     rax, [rsp+48h+arg_28]                                          ; +0xa, 0x180079eca\nmov     rsi, rdx                                                       ; +0xf, 0x180079ecf\nmov     [rcx+0D0h], rax                                                ; +0x12, 0x180079ed2\nmov     rbx, rcx                                                       ; +0x19, 0x180079ed9\ntest    rax, rax                                                       ; +0x1c, 0x180079edc\njnz     short loc_180079EEC                                            ; +0x1f, 0x180079edf\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x21, 0x180079ee1\nadd     rsp, 40h                                                       ; +0x26, 0x180079ee6\npop     rsi                                                            ; +0x2a, 0x180079eea\nretn                                                                   ; +0x2b, 0x180079eeb\nmov     byte ptr [rcx+0E8h], 1                                         ; +0x2c, 0x180079eec\nmov     [rcx+0E9h], r8b                                                ; +0x33, 0x180079ef3\nmov     [rcx+0EAh], r9b                                                ; +0x3a, 0x180079efa\nmov     ecx, 2100Fh                                                    ; +0x41, 0x180079f01\nmov     [rsp+48h+arg_0], rdi                                           ; +0x46, 0x180079f06\nmov     rdi, [rsp+48h+arg_20]                                          ; +0x4b, 0x180079f0b\nmov     edx, [rdi+14h]                                                 ; +0x50, 0x180079f10\ncall    sub_1800DCA30                                                  ; +0x53, 0x180079f13\nmov     edx, [rdi+8]                                                   ; +0x58, 0x180079f18\nmov     ecx, 21001h                                                    ; +0x5b, 0x180079f1b\ncall    sub_1800DCA30                                                  ; +0x60, 0x180079f20\nmov     edx, [rdi+10h]                                                 ; +0x65, 0x180079f25\nmov     ecx, 21003h                                                    ; +0x68, 0x180079f28\ncall    sub_1800DCA30                                                  ; +0x6d, 0x180079f2d\nmov     edx, [rdi+0Ch]                                                 ; +0x72, 0x180079f32\nmov     ecx, 21002h                                                    ; +0x75, 0x180079f35\ncall    sub_1800DCA30                                                  ; +0x7a, 0x180079f3a\ncmp     byte ptr [rbx+0E9h], 0                                         ; +0x7f, 0x180079f3f\njz      short loc_180079F5F                                            ; +0x86, 0x180079f46\nxor     edx, edx                                                       ; +0x88, 0x180079f48\nmov     ecx, 20005h                                                    ; +0x8a, 0x180079f4a\ncall    sub_1800DCA30                                                  ; +0x8f, 0x180079f4f\nmov     qword ptr [rbx+0D0h], 0                                        ; +0x94, 0x180079f54\nmovd    xmm0, dword ptr [rdi+4]                                        ; +0x9f, 0x180079f5f\nlea     rcx, [rsp+48h+var_18]; this                                    ; +0xa4, 0x180079f64\nmovd    xmm3, dword ptr [rdi]                                          ; +0xa9, 0x180079f69\nxorps   xmm2, xmm2; float                                              ; +0xad, 0x180079f6d\ncvtdq2ps xmm0, xmm0                                                    ; +0xb0, 0x180079f70\ncvtdq2ps xmm3, xmm3; float                                             ; +0xb3, 0x180079f73\nxorps   xmm1, xmm1; float                                              ; +0xb6, 0x180079f76\nmovss   [rsp+48h+var_28], xmm0; float                                  ; +0xb9, 0x180079f79\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xbf, 0x180079f7f\nmovss   xmm3, cs:flt_1800EC208                                         ; +0xc4, 0x180079f84\nmov     r8, rax                                                        ; +0xcc, 0x180079f8c\nmov     rdx, rsi                                                       ; +0xcf, 0x180079f8f\nmov     rcx, rbx; this                                                 ; +0xd2, 0x180079f92\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) ; +0xd5, 0x180079f95\nmov     rdi, [rsp+48h+arg_0]                                           ; +0xda, 0x180079f9a\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xdf, 0x180079f9f\nadd     rsp, 40h                                                       ; +0xe4, 0x180079fa4\npop     rsi                                                            ; +0xe8, 0x180079fa8\nretn                                                                   ; +0xe9, 0x180079fa9", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bec5c"], "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"}