{"type": "func", "start": 6443252448, "end": 6443252813, "name": "cocos2d::CCApplication::CCApplication", "pseudocode": "// \n// cocos2d::CCApplication::CCApplication from 0x1800c3ae0 to 0x1800c3c4d (365 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b9684\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// Hidden C++ exception states: #wind=3\ncocos2d::CCApplication *__fastcall cocos2d::CCApplication::CCApplication(\n        cocos2d::CCApplication *this,\n        const struct cocos2d::CCApplication *a2)\n{\n  this->__vftable = (cocos2d::CCApplication_vtbl *)&cocos2d::CCApplication::`vftable';\n  this->m_resourceRootPath = *(std::string *)&a2->m_resourceRootPath.m_data.m_bigStorage;\n  sub_180016C80((__int64)&this->m_startupScriptFilename, (__int64)&a2->m_startupScriptFilename);\n  sub_180016C80((__int64)(this + 1), (__int64)&a2[1]);\n  *((_QWORD *)this + 13) = a2[1].m_resourceRootPath.m_data.m_capacity;\n  *((_QWORD *)this + 14) = a2[1].m_startupScriptFilename.m_data.m_bigStorage;\n  *((_BYTE *)this + 120) = a2[1].m_startupScriptFilename.m_data.m_smallStorage._Elems[8];\n  *((_BYTE *)this + 121) = a2[1].m_startupScriptFilename.m_data.m_smallStorage._Elems[9];\n  *((_BYTE *)this + 122) = a2[1].m_startupScriptFilename.m_data.m_smallStorage._Elems[10];\n  *((_OWORD *)this + 8) = *(_OWORD *)&a2[1].m_startupScriptFilename.m_data.m_size;\n  *((_OWORD *)this + 9) = *(_OWORD *)&a2[2].__vftable;\n  *((_QWORD *)this + 20) = *((_QWORD *)&a2[2].m_resourceRootPath.m_data.m_bigStorage + 1);\n  cocos2d::cc_timeval::operator=((_DWORD *)this + 42, &a2[2].m_resourceRootPath.m_data.m_size);\n  cocos2d::cc_timeval::operator=((_DWORD *)this + 44, &a2[2].m_resourceRootPath.m_data.m_capacity);\n  *((_BYTE *)this + 184) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[0];\n  *((_BYTE *)this + 185) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[1];\n  *((_DWORD *)this + 47) = HIDWORD(a2[2].m_startupScriptFilename.m_data.m_bigStorage);\n  *((_DWORD *)this + 48) = *((_DWORD *)&a2[2].m_startupScriptFilename.m_data.m_bigStorage + 2);\n  *((_BYTE *)this + 196) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[12];\n  *((_BYTE *)this + 197) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[13];\n  *((_BYTE *)this + 198) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[14];\n  *((_BYTE *)this + 199) = a2[2].m_startupScriptFilename.m_data.m_smallStorage._Elems[15];\n  *((_BYTE *)this + 200) = a2[2].m_startupScriptFilename.m_data.m_size;\n  *((_BYTE *)this + 201) = BYTE1(a2[2].m_startupScriptFilename.m_data.m_size);\n  *((_BYTE *)this + 202) = BYTE2(a2[2].m_startupScriptFilename.m_data.m_size);\n  return this;\n}", "assembly": "; \n; cocos2d::CCApplication::CCApplication from 0x1800c3ae0 to 0x1800c3c4d (365 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b9684\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, 0x1800c3ae0\nmov     [rsp+arg_0], rcx                                               ; +0x5, 0x1800c3ae5\npush    rdi                                                            ; +0xa, 0x1800c3aea\nsub     rsp, 20h                                                       ; +0xb, 0x1800c3aeb\nmov     rbx, rdx                                                       ; +0xf, 0x1800c3aef\nmov     rdi, rcx                                                       ; +0x12, 0x1800c3af2\nlea     rax, ??_7CCApplication@cocos2d@@6B@; const cocos2d::CCApplication::`vftable' ; +0x15, 0x1800c3af5\nmov     [rcx], rax                                                     ; +0x1c, 0x1800c3afc\nmov     rax, [rdx+8]                                                   ; +0x1f, 0x1800c3aff\nmov     [rcx+8], rax                                                   ; +0x23, 0x1800c3b03\nmov     rax, [rdx+10h]                                                 ; +0x27, 0x1800c3b07\nmov     [rcx+10h], rax                                                 ; +0x2b, 0x1800c3b0b\nmov     rax, [rdx+18h]                                                 ; +0x2f, 0x1800c3b0f\nmov     [rcx+18h], rax                                                 ; +0x33, 0x1800c3b13\nmov     rax, [rdx+20h]                                                 ; +0x37, 0x1800c3b17\nmov     [rcx+20h], rax                                                 ; +0x3b, 0x1800c3b1b\nadd     rdx, 28h ; '('                                                 ; +0x3f, 0x1800c3b1f\nadd     rcx, 28h ; '('                                                 ; +0x43, 0x1800c3b23\ncall    sub_180016C80                                                  ; +0x47, 0x1800c3b27\nnop                                                                    ; +0x4c, 0x1800c3b2c\nlea     rdx, [rbx+48h]                                                 ; +0x4d, 0x1800c3b2d\nlea     rcx, [rdi+48h]                                                 ; +0x51, 0x1800c3b31\ncall    sub_180016C80                                                  ; +0x55, 0x1800c3b35\nnop                                                                    ; +0x5a, 0x1800c3b3a\nmov     rax, [rbx+68h]                                                 ; +0x5b, 0x1800c3b3b\nmov     [rdi+68h], rax                                                 ; +0x5f, 0x1800c3b3f\nmov     rax, [rbx+70h]                                                 ; +0x63, 0x1800c3b43\nmov     [rdi+70h], rax                                                 ; +0x67, 0x1800c3b47\nmovzx   eax, byte ptr [rbx+78h]                                        ; +0x6b, 0x1800c3b4b\nmov     [rdi+78h], al                                                  ; +0x6f, 0x1800c3b4f\nmovzx   eax, byte ptr [rbx+79h]                                        ; +0x72, 0x1800c3b52\nmov     [rdi+79h], al                                                  ; +0x76, 0x1800c3b56\nmovzx   eax, byte ptr [rbx+7Ah]                                        ; +0x79, 0x1800c3b59\nmov     [rdi+7Ah], al                                                  ; +0x7d, 0x1800c3b5d\nmovups  xmm0, xmmword ptr [rbx+80h]                                    ; +0x80, 0x1800c3b60\nmovups  xmmword ptr [rdi+80h], xmm0                                    ; +0x87, 0x1800c3b67\nmovups  xmm1, xmmword ptr [rbx+90h]                                    ; +0x8e, 0x1800c3b6e\nmovups  xmmword ptr [rdi+90h], xmm1                                    ; +0x95, 0x1800c3b75\nmovsd   xmm0, qword ptr [rbx+0A0h]                                     ; +0x9c, 0x1800c3b7c\nmovsd   qword ptr [rdi+0A0h], xmm0                                     ; +0xa4, 0x1800c3b84\nlea     rdx, [rbx+0A8h]                                                ; +0xac, 0x1800c3b8c\nlea     rcx, [rdi+0A8h]                                                ; +0xb3, 0x1800c3b93\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0xba, 0x1800c3b9a\nlea     rdx, [rbx+0B0h]                                                ; +0xbf, 0x1800c3b9f\nlea     rcx, [rdi+0B0h]                                                ; +0xc6, 0x1800c3ba6\ncall    ??4cc_timeval@cocos2d@@QEAAAEAU01@$$QEAU01@@Z; cocos2d::cc_timeval::operator=(cocos2d::cc_timeval &&) ; +0xcd, 0x1800c3bad\nmovzx   eax, byte ptr [rbx+0B8h]                                       ; +0xd2, 0x1800c3bb2\nmov     [rdi+0B8h], al                                                 ; +0xd9, 0x1800c3bb9\nmovzx   eax, byte ptr [rbx+0B9h]                                       ; +0xdf, 0x1800c3bbf\nmov     [rdi+0B9h], al                                                 ; +0xe6, 0x1800c3bc6\nmov     eax, [rbx+0BCh]                                                ; +0xec, 0x1800c3bcc\nmov     [rdi+0BCh], eax                                                ; +0xf2, 0x1800c3bd2\nmov     eax, [rbx+0C0h]                                                ; +0xf8, 0x1800c3bd8\nmov     [rdi+0C0h], eax                                                ; +0xfe, 0x1800c3bde\nmovzx   eax, byte ptr [rbx+0C4h]                                       ; +0x104, 0x1800c3be4\nmov     [rdi+0C4h], al                                                 ; +0x10b, 0x1800c3beb\nmovzx   eax, byte ptr [rbx+0C5h]                                       ; +0x111, 0x1800c3bf1\nmov     [rdi+0C5h], al                                                 ; +0x118, 0x1800c3bf8\nmovzx   eax, byte ptr [rbx+0C6h]                                       ; +0x11e, 0x1800c3bfe\nmov     [rdi+0C6h], al                                                 ; +0x125, 0x1800c3c05\nmovzx   eax, byte ptr [rbx+0C7h]                                       ; +0x12b, 0x1800c3c0b\nmov     [rdi+0C7h], al                                                 ; +0x132, 0x1800c3c12\nmovzx   eax, byte ptr [rbx+0C8h]                                       ; +0x138, 0x1800c3c18\nmov     [rdi+0C8h], al                                                 ; +0x13f, 0x1800c3c1f\nmovzx   eax, byte ptr [rbx+0C9h]                                       ; +0x145, 0x1800c3c25\nmov     [rdi+0C9h], al                                                 ; +0x14c, 0x1800c3c2c\nmovzx   eax, byte ptr [rbx+0CAh]                                       ; +0x152, 0x1800c3c32\nmov     [rdi+0CAh], al                                                 ; +0x159, 0x1800c3c39\nmov     rax, rdi                                                       ; +0x15f, 0x1800c3c3f\nmov     rbx, [rsp+28h+arg_8]                                           ; +0x162, 0x1800c3c42\nadd     rsp, 20h                                                       ; +0x167, 0x1800c3c47\npop     rdi                                                            ; +0x16b, 0x1800c3c4b\nretn                                                                   ; +0x16c, 0x1800c3c4c", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b9684"], "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"}