{"type": "func", "start": 6442938768, "end": 6442939002, "name": "cocos2d::CCEGLView::initWithFullscreen", "pseudocode": "// \n// cocos2d::CCEGLView::initWithFullscreen from 0x180077190 to 0x18007727a (234 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b4944\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\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  cocos2d::CCRect v8; // [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_1800D4D00(135183, *(unsigned int *)(a5 + 20));\n    sub_1800D4D00(135169, *(unsigned int *)(a5 + 8));\n    sub_1800D4D00(135171, *(unsigned int *)(a5 + 16));\n    sub_1800D4D00(135170, *(unsigned int *)(a5 + 12));\n    if ( *((_BYTE *)this + 233) )\n    {\n      sub_1800D4D00(131077, 0);\n      *((_QWORD *)this + 26) = 0;\n    }\n    cocos2d::CCRect::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 0x180077190 to 0x18007727a (234 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b4944\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180077190\npush    rsi                                                            ; +0x5, 0x180077195\nsub     rsp, 40h                                                       ; +0x6, 0x180077196\nmov     rax, [rsp+48h+arg_28]                                          ; +0xa, 0x18007719a\nmov     rsi, rdx                                                       ; +0xf, 0x18007719f\nmov     [rcx+0D0h], rax                                                ; +0x12, 0x1800771a2\nmov     rbx, rcx                                                       ; +0x19, 0x1800771a9\ntest    rax, rax                                                       ; +0x1c, 0x1800771ac\njnz     short loc_1800771BC                                            ; +0x1f, 0x1800771af\nmov     rbx, [rsp+48h+arg_8]                                           ; +0x21, 0x1800771b1\nadd     rsp, 40h                                                       ; +0x26, 0x1800771b6\npop     rsi                                                            ; +0x2a, 0x1800771ba\nretn                                                                   ; +0x2b, 0x1800771bb\nmov     byte ptr [rcx+0E8h], 1                                         ; +0x2c, 0x1800771bc\nmov     [rcx+0E9h], r8b                                                ; +0x33, 0x1800771c3\nmov     [rcx+0EAh], r9b                                                ; +0x3a, 0x1800771ca\nmov     ecx, 2100Fh                                                    ; +0x41, 0x1800771d1\nmov     [rsp+48h+arg_0], rdi                                           ; +0x46, 0x1800771d6\nmov     rdi, [rsp+48h+arg_20]                                          ; +0x4b, 0x1800771db\nmov     edx, [rdi+14h]                                                 ; +0x50, 0x1800771e0\ncall    sub_1800D4D00                                                  ; +0x53, 0x1800771e3\nmov     edx, [rdi+8]                                                   ; +0x58, 0x1800771e8\nmov     ecx, 21001h                                                    ; +0x5b, 0x1800771eb\ncall    sub_1800D4D00                                                  ; +0x60, 0x1800771f0\nmov     edx, [rdi+10h]                                                 ; +0x65, 0x1800771f5\nmov     ecx, 21003h                                                    ; +0x68, 0x1800771f8\ncall    sub_1800D4D00                                                  ; +0x6d, 0x1800771fd\nmov     edx, [rdi+0Ch]                                                 ; +0x72, 0x180077202\nmov     ecx, 21002h                                                    ; +0x75, 0x180077205\ncall    sub_1800D4D00                                                  ; +0x7a, 0x18007720a\ncmp     byte ptr [rbx+0E9h], 0                                         ; +0x7f, 0x18007720f\njz      short loc_18007722F                                            ; +0x86, 0x180077216\nxor     edx, edx                                                       ; +0x88, 0x180077218\nmov     ecx, 20005h                                                    ; +0x8a, 0x18007721a\ncall    sub_1800D4D00                                                  ; +0x8f, 0x18007721f\nmov     qword ptr [rbx+0D0h], 0                                        ; +0x94, 0x180077224\nmovd    xmm0, dword ptr [rdi+4]                                        ; +0x9f, 0x18007722f\nlea     rcx, [rsp+48h+var_18]; this                                    ; +0xa4, 0x180077234\nmovd    xmm3, dword ptr [rdi]                                          ; +0xa9, 0x180077239\nxorps   xmm2, xmm2; float                                              ; +0xad, 0x18007723d\ncvtdq2ps xmm0, xmm0                                                    ; +0xb0, 0x180077240\ncvtdq2ps xmm3, xmm3; float                                             ; +0xb3, 0x180077243\nxorps   xmm1, xmm1; float                                              ; +0xb6, 0x180077246\nmovss   [rsp+48h+var_28], xmm0; float                                  ; +0xb9, 0x180077249\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xbf, 0x18007724f\nmovss   xmm3, cs:flt_1800E61A8                                         ; +0xc4, 0x180077254\nmov     r8, rax                                                        ; +0xcc, 0x18007725c\nmov     rdx, rsi                                                       ; +0xcf, 0x18007725f\nmov     rcx, rbx; this                                                 ; +0xd2, 0x180077262\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, 0x180077265\nmov     rdi, [rsp+48h+arg_0]                                           ; +0xda, 0x18007726a\nmov     rbx, [rsp+48h+arg_8]                                           ; +0xdf, 0x18007726f\nadd     rsp, 40h                                                       ; +0xe4, 0x180077274\npop     rsi                                                            ; +0xe8, 0x180077278\nretn                                                                   ; +0xe9, 0x180077279", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b4944"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}