{"type": "func", "start": 6443261280, "end": 6443261432, "name": "cocos2d::CCGLProgram::CCGLProgram", "pseudocode": "// \n// cocos2d::CCGLProgram::CCGLProgram from 0x1800c5d60 to 0x1800c5df8 (152 bytes)\n// \n// 1 xrefs:\n// > <???> @ 0x1801438a8\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\ncocos2d::CCGLProgram *__fastcall cocos2d::CCGLProgram::CCGLProgram(\n        cocos2d::CCGLProgram *this,\n        const struct cocos2d::CCGLProgram *a2)\n{\n  this->__vftable = (cocos2d::CCGLProgram_vtbl *)&cocos2d::CCObject::`vftable';\n  this->m_uID = a2->m_uID;\n  this->m_nLuaID = a2->m_nLuaID;\n  this->m_nTag = a2->m_nTag;\n  this->m_uReference = a2->m_uReference;\n  this->m_uAutoReleaseCount = a2->m_uAutoReleaseCount;\n  this->m_eObjType = a2->m_eObjType;\n  this->m_uIndexInArray = a2->m_uIndexInArray;\n  this->m_uUnknown = a2->m_uUnknown;\n  this->m_unknown2 = a2->m_unknown2;\n  this->m_nZOrder = a2->m_nZOrder;\n  this->m_uOrderOfArrival = a2->m_uOrderOfArrival;\n  this->m_unknown5 = a2->m_unknown5;\n  this->__vftable = (cocos2d::CCGLProgram_vtbl *)&cocos2d::CCGLProgram::`vftable';\n  this->m_uProgram = a2->m_uProgram;\n  this->m_uVertShader = a2->m_uVertShader;\n  this->m_uFragShader = a2->m_uFragShader;\n  *(_OWORD *)this->m_uUniforms = *(_OWORD *)a2->m_uUniforms;\n  *(_OWORD *)&this->m_uUniforms[4] = *(_OWORD *)&a2->m_uUniforms[4];\n  this->m_pHashForUniforms = a2->m_pHashForUniforms;\n  this->m_bUsesTime = a2->m_bUsesTime;\n  this->m_hasShaderCompiler = a2->m_hasShaderCompiler;\n  return this;\n}", "assembly": "; \n; cocos2d::CCGLProgram::CCGLProgram from 0x1800c5d60 to 0x1800c5df8 (152 bytes)\n; \n; 1 xrefs:\n; > <???> @ 0x1801438a8\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\nlea     rax, ??_7CCObject@cocos2d@@6B@; const cocos2d::CCObject::`vftable' ; +0x0, 0x1800c5d60\nmov     [rcx], rax                                                     ; +0x7, 0x1800c5d67\nmov     eax, [rdx+8]                                                   ; +0xa, 0x1800c5d6a\nmov     [rcx+8], eax                                                   ; +0xd, 0x1800c5d6d\nmov     eax, [rdx+0Ch]                                                 ; +0x10, 0x1800c5d70\nmov     [rcx+0Ch], eax                                                 ; +0x13, 0x1800c5d73\nmov     eax, [rdx+10h]                                                 ; +0x16, 0x1800c5d76\nmov     [rcx+10h], eax                                                 ; +0x19, 0x1800c5d79\nmov     eax, [rdx+14h]                                                 ; +0x1c, 0x1800c5d7c\nmov     [rcx+14h], eax                                                 ; +0x1f, 0x1800c5d7f\nmov     eax, [rdx+18h]                                                 ; +0x22, 0x1800c5d82\nmov     [rcx+18h], eax                                                 ; +0x25, 0x1800c5d85\nmov     eax, [rdx+1Ch]                                                 ; +0x28, 0x1800c5d88\nmov     [rcx+1Ch], eax                                                 ; +0x2b, 0x1800c5d8b\nmov     eax, [rdx+20h]                                                 ; +0x2e, 0x1800c5d8e\nmov     [rcx+20h], eax                                                 ; +0x31, 0x1800c5d91\nmov     eax, [rdx+24h]                                                 ; +0x34, 0x1800c5d94\nmov     [rcx+24h], eax                                                 ; +0x37, 0x1800c5d97\nmov     eax, [rdx+28h]                                                 ; +0x3a, 0x1800c5d9a\nmov     [rcx+28h], eax                                                 ; +0x3d, 0x1800c5d9d\nmov     eax, [rdx+2Ch]                                                 ; +0x40, 0x1800c5da0\nmov     [rcx+2Ch], eax                                                 ; +0x43, 0x1800c5da3\nmov     eax, [rdx+30h]                                                 ; +0x46, 0x1800c5da6\nmov     [rcx+30h], eax                                                 ; +0x49, 0x1800c5da9\nmov     eax, [rdx+34h]                                                 ; +0x4c, 0x1800c5dac\nmov     [rcx+34h], eax                                                 ; +0x4f, 0x1800c5daf\nlea     rax, ??_7CCGLProgram@cocos2d@@6B@; const cocos2d::CCGLProgram::`vftable' ; +0x52, 0x1800c5db2\nmov     [rcx], rax                                                     ; +0x59, 0x1800c5db9\nmov     eax, [rdx+38h]                                                 ; +0x5c, 0x1800c5dbc\nmov     [rcx+38h], eax                                                 ; +0x5f, 0x1800c5dbf\nmov     eax, [rdx+3Ch]                                                 ; +0x62, 0x1800c5dc2\nmov     [rcx+3Ch], eax                                                 ; +0x65, 0x1800c5dc5\nmov     eax, [rdx+40h]                                                 ; +0x68, 0x1800c5dc8\nmov     [rcx+40h], eax                                                 ; +0x6b, 0x1800c5dcb\nmovups  xmm0, xmmword ptr [rdx+44h]                                    ; +0x6e, 0x1800c5dce\nmovups  xmmword ptr [rcx+44h], xmm0                                    ; +0x72, 0x1800c5dd2\nmovups  xmm1, xmmword ptr [rdx+54h]                                    ; +0x76, 0x1800c5dd6\nmovups  xmmword ptr [rcx+54h], xmm1                                    ; +0x7a, 0x1800c5dda\nmov     rax, [rdx+68h]                                                 ; +0x7e, 0x1800c5dde\nmov     [rcx+68h], rax                                                 ; +0x82, 0x1800c5de2\nmovzx   eax, byte ptr [rdx+70h]                                        ; +0x86, 0x1800c5de6\nmov     [rcx+70h], al                                                  ; +0x8a, 0x1800c5dea\nmovzx   eax, byte ptr [rdx+71h]                                        ; +0x8d, 0x1800c5ded\nmov     [rcx+71h], al                                                  ; +0x91, 0x1800c5df1\nmov     rax, rcx                                                       ; +0x94, 0x1800c5df4\nretn                                                                   ; +0x97, 0x1800c5df7", "xrefs": ["<???> @ 0x1801438a8"], "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"}