{"type": "func", "start": 6443004432, "end": 6443004582, "name": "cocos2d::CCGLProgram::setUniformLocationWith3f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith3f from 0x180087210 to 0x1800872a6 (150 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b57a8\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::setUniformLocationWith3f(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        float a3,\n        float a4,\n        float a5)\n{\n  _DWORD v6[4]; // [rsp+20h] [rbp-58h] BYREF\n\n  *(float *)&v6[2] = a5;\n  *(float *)&v6[1] = a4;\n  *(float *)v6 = a3;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v6, 0xCu) )\n    _glewUniform3f(a2);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith3f from 0x180087210 to 0x1800872a6 (150 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b57a8\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\npush    rbx                                                            ; +0x0, 0x180087210\nsub     rsp, 70h                                                       ; +0x2, 0x180087212\nmovaps  [rsp+78h+var_18], xmm6                                         ; +0x6, 0x180087216\nmovaps  [rsp+78h+var_28], xmm7                                         ; +0xb, 0x18008721b\nmovaps  [rsp+78h+var_38], xmm8                                         ; +0x10, 0x180087220\nmov     rax, cs:__security_cookie                                      ; +0x16, 0x180087226\nxor     rax, rsp                                                       ; +0x1d, 0x18008722d\nmov     [rsp+78h+var_48], rax                                          ; +0x20, 0x180087230\nmovss   xmm8, [rsp+78h+arg_20]                                         ; +0x25, 0x180087235\nlea     r8, [rsp+78h+var_58]; void *                                   ; +0x2f, 0x18008723f\nmovaps  xmm7, xmm3                                                     ; +0x34, 0x180087244\nmovss   [rsp+78h+var_50], xmm8                                         ; +0x37, 0x180087247\nmovaps  xmm6, xmm2                                                     ; +0x3e, 0x18008724e\nmovss   [rsp+78h+var_54], xmm7                                         ; +0x41, 0x180087251\nmov     r9d, 0Ch; unsigned int                                         ; +0x47, 0x180087257\nmovss   [rsp+78h+var_58], xmm6                                         ; +0x4d, 0x18008725d\nmov     ebx, edx                                                       ; +0x53, 0x180087263\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x55, 0x180087265\ntest    al, al                                                         ; +0x5a, 0x18008726a\njz      short loc_180087283                                            ; +0x5c, 0x18008726c\nmov     rax, cs:__glewUniform3f                                        ; +0x5e, 0x18008726e\nmovaps  xmm3, xmm8                                                     ; +0x65, 0x180087275\nmovaps  xmm2, xmm7                                                     ; +0x69, 0x180087279\nmovaps  xmm1, xmm6                                                     ; +0x6c, 0x18008727c\nmov     ecx, ebx                                                       ; +0x6f, 0x18008727f\ncall    qword ptr [rax]                                                ; +0x71, 0x180087281\nmov     rcx, [rsp+78h+var_48]                                          ; +0x73, 0x180087283\nxor     rcx, rsp; StackCookie                                          ; +0x78, 0x180087288\ncall    __security_check_cookie                                        ; +0x7b, 0x18008728b\nmovaps  xmm6, [rsp+78h+var_18]                                         ; +0x80, 0x180087290\nmovaps  xmm7, [rsp+78h+var_28]                                         ; +0x85, 0x180087295\nmovaps  xmm8, [rsp+78h+var_38]                                         ; +0x8a, 0x18008729a\nadd     rsp, 70h                                                       ; +0x90, 0x1800872a0\npop     rbx                                                            ; +0x94, 0x1800872a4\nretn                                                                   ; +0x95, 0x1800872a5", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b57a8"], "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"}