{"type": "func", "start": 6443005152, "end": 6443005288, "name": "cocos2d::CCGLProgram::setUniformLocationWith4i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith4i from 0x1800874e0 to 0x180087568 (136 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b57f0\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::setUniformLocationWith4i(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        unsigned int a3,\n        unsigned int a4,\n        unsigned int a5,\n        int a6)\n{\n  _DWORD v9[4]; // [rsp+30h] [rbp-48h] BYREF\n\n  v9[0] = a3;\n  v9[1] = a4;\n  v9[2] = a5;\n  v9[3] = a6;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v9, 0x10u) )\n    _glewUniform4i(a2, a3, a4, a5, a6);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith4i from 0x1800874e0 to 0x180087568 (136 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b57f0\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, 0x1800874e0\npush    rbp                                                            ; +0x2, 0x1800874e2\npush    rsi                                                            ; +0x3, 0x1800874e3\npush    rdi                                                            ; +0x4, 0x1800874e4\npush    r14                                                            ; +0x5, 0x1800874e5\nsub     rsp, 50h                                                       ; +0x7, 0x1800874e7\nmov     rax, cs:__security_cookie                                      ; +0xb, 0x1800874eb\nxor     rax, rsp                                                       ; +0x12, 0x1800874f2\nmov     [rsp+78h+var_38], rax                                          ; +0x15, 0x1800874f5\nmov     ebp, [rsp+78h+arg_20]                                          ; +0x1a, 0x1800874fa\nmov     esi, r9d                                                       ; +0x21, 0x180087501\nmov     r14d, [rsp+78h+arg_28]                                         ; +0x24, 0x180087504\nmov     edi, r8d                                                       ; +0x2c, 0x18008750c\nmov     [rsp+78h+var_48], r8d                                          ; +0x2f, 0x18008750f\nmov     ebx, edx                                                       ; +0x34, 0x180087514\nmov     [rsp+78h+var_44], r9d                                          ; +0x36, 0x180087516\nlea     r8, [rsp+78h+var_48]; void *                                   ; +0x3b, 0x18008751b\nmov     r9d, 10h; unsigned int                                         ; +0x40, 0x180087520\nmov     [rsp+78h+var_40], ebp                                          ; +0x46, 0x180087526\nmov     [rsp+78h+var_3C], r14d                                         ; +0x4a, 0x18008752a\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x4f, 0x18008752f\ntest    al, al                                                         ; +0x54, 0x180087534\njz      short loc_180087550                                            ; +0x56, 0x180087536\nmov     rax, cs:__glewUniform4i                                        ; +0x58, 0x180087538\nmov     r9d, ebp                                                       ; +0x5f, 0x18008753f\nmov     r8d, esi                                                       ; +0x62, 0x180087542\nmov     [rsp+78h+var_58], r14d                                         ; +0x65, 0x180087545\nmov     edx, edi                                                       ; +0x6a, 0x18008754a\nmov     ecx, ebx                                                       ; +0x6c, 0x18008754c\ncall    qword ptr [rax]                                                ; +0x6e, 0x18008754e\nmov     rcx, [rsp+78h+var_38]                                          ; +0x70, 0x180087550\nxor     rcx, rsp; StackCookie                                          ; +0x75, 0x180087555\ncall    __security_check_cookie                                        ; +0x78, 0x180087558\nadd     rsp, 50h                                                       ; +0x7d, 0x18008755d\npop     r14                                                            ; +0x81, 0x180087561\npop     rdi                                                            ; +0x83, 0x180087563\npop     rsi                                                            ; +0x84, 0x180087564\npop     rbp                                                            ; +0x85, 0x180087565\npop     rbx                                                            ; +0x86, 0x180087566\nretn                                                                   ; +0x87, 0x180087567", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b57f0"], "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"}