{"type": "func", "start": 6443004880, "end": 6443005072, "name": "cocos2d::CCGLProgram::setUniformLocationWith4f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith4f from 0x1800873d0 to 0x180087490 (192 bytes)\n// \n// 6 xrefs:\n// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800877ec\n// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x18008783e\n// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x180087865\n// > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800878d9\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b57d8\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\nvoid __fastcall cocos2d::CCGLProgram::setUniformLocationWith4f(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        float a3,\n        float a4,\n        float a5,\n        float a6)\n{\n  _DWORD v7[4]; // [rsp+30h] [rbp-68h] BYREF\n\n  *(float *)&v7[1] = a4;\n  *(float *)v7 = a3;\n  *(float *)&v7[2] = a5;\n  *(float *)&v7[3] = a6;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v7, 0x10u) )\n    _glewUniform4f(a2);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith4f from 0x1800873d0 to 0x180087490 (192 bytes)\n; \n; 6 xrefs:\n; > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800877ec\n; > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x18008783e\n; > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x180087865\n; > cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800878d9\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b57d8\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     r11, rsp                                                       ; +0x0, 0x1800873d0\npush    rbx                                                            ; +0x3, 0x1800873d3\nsub     rsp, 90h                                                       ; +0x4, 0x1800873d4\nmovaps  xmmword ptr [r11-18h], xmm6                                    ; +0xb, 0x1800873db\nmovaps  [rsp+98h+var_28], xmm7                                         ; +0x10, 0x1800873e0\nmovaps  xmmword ptr [r11-38h], xmm8                                    ; +0x15, 0x1800873e5\nmovaps  xmmword ptr [r11-48h], xmm9                                    ; +0x1a, 0x1800873ea\nmov     rax, cs:__security_cookie                                      ; +0x1f, 0x1800873ef\nxor     rax, rsp                                                       ; +0x26, 0x1800873f6\nmov     [rsp+98h+var_58], rax                                          ; +0x29, 0x1800873f9\nmovss   xmm8, [rsp+98h+arg_20]                                         ; +0x2e, 0x1800873fe\nlea     r8, [r11-68h]; void *                                          ; +0x38, 0x180087408\nmovss   xmm9, [rsp+98h+arg_28]                                         ; +0x3c, 0x18008740c\nmovaps  xmm7, xmm3                                                     ; +0x46, 0x180087416\nmovss   [rsp+98h+var_64], xmm7                                         ; +0x49, 0x180087419\nmovaps  xmm6, xmm2                                                     ; +0x4f, 0x18008741f\nmovss   [rsp+98h+var_68], xmm6                                         ; +0x52, 0x180087422\nmov     r9d, 10h; unsigned int                                         ; +0x58, 0x180087428\nmovss   dword ptr [r11-60h], xmm8                                      ; +0x5e, 0x18008742e\nmov     ebx, edx                                                       ; +0x64, 0x180087434\nmovss   dword ptr [r11-5Ch], xmm9                                      ; +0x66, 0x180087436\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x6c, 0x18008743c\ntest    al, al                                                         ; +0x71, 0x180087441\njz      short loc_180087461                                            ; +0x73, 0x180087443\nmov     rax, cs:__glewUniform4f                                        ; +0x75, 0x180087445\nmovaps  xmm3, xmm8                                                     ; +0x7c, 0x18008744c\nmovaps  xmm2, xmm7                                                     ; +0x80, 0x180087450\nmovss   [rsp+98h+var_78], xmm9                                         ; +0x83, 0x180087453\nmovaps  xmm1, xmm6                                                     ; +0x8a, 0x18008745a\nmov     ecx, ebx                                                       ; +0x8d, 0x18008745d\ncall    qword ptr [rax]                                                ; +0x8f, 0x18008745f\nmov     rcx, [rsp+98h+var_58]                                          ; +0x91, 0x180087461\nxor     rcx, rsp; StackCookie                                          ; +0x96, 0x180087466\ncall    __security_check_cookie                                        ; +0x99, 0x180087469\nmovaps  xmm6, [rsp+98h+var_18]                                         ; +0x9e, 0x18008746e\nmovaps  xmm7, [rsp+98h+var_28]                                         ; +0xa6, 0x180087476\nmovaps  xmm8, [rsp+98h+var_38]                                         ; +0xab, 0x18008747b\nmovaps  xmm9, [rsp+98h+var_48]                                         ; +0xb1, 0x180087481\nadd     rsp, 90h                                                       ; +0xb7, 0x180087487\npop     rbx                                                            ; +0xbe, 0x18008748e\nretn                                                                   ; +0xbf, 0x18008748f", "xrefs": ["cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800877ec", "cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x18008783e", "cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x180087865", "cocos2d::CCGLProgram::setUniformsForBuiltins @ 0x1800878d9", "<???> @ 0x1801438a8", "<???> @ 0x1801b57d8"], "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"}