{"type": "func", "start": 6443017856, "end": 6443017986, "name": "cocos2d::CCGLProgram::setUniformLocationWith4i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith4i from 0x18008a680 to 0x18008a702 (130 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfac0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:05 +0000\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[6]; // [rsp+30h] [rbp-18h] 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 0x18008a680 to 0x18008a702 (130 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfac0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:05 +0000\n; \nmov     rax, rsp                                                       ; +0x0, 0x18008a680\nmov     [rax+8], rbx                                                   ; +0x3, 0x18008a683\nmov     [rax+10h], rbp                                                 ; +0x7, 0x18008a687\nmov     [rax+18h], rsi                                                 ; +0xb, 0x18008a68b\nmov     [rax+20h], rdi                                                 ; +0xf, 0x18008a68f\npush    r14                                                            ; +0x13, 0x18008a693\nsub     rsp, 40h                                                       ; +0x15, 0x18008a695\nmov     ebp, [rsp+48h+arg_20]                                          ; +0x19, 0x18008a699\nmov     ebx, r9d                                                       ; +0x1d, 0x18008a69d\nmov     r14d, [rsp+48h+arg_28]                                         ; +0x20, 0x18008a6a0\nmov     edi, r8d                                                       ; +0x25, 0x18008a6a5\nmov     [rax-18h], r8d                                                 ; +0x28, 0x18008a6a8\nmov     r9d, 10h; unsigned int                                         ; +0x2c, 0x18008a6ac\nlea     r8, [rax-18h]; void *                                          ; +0x32, 0x18008a6b2\nmov     [rax-14h], ebx                                                 ; +0x36, 0x18008a6b6\nmov     esi, edx                                                       ; +0x39, 0x18008a6b9\nmov     [rax-10h], ebp                                                 ; +0x3b, 0x18008a6bb\nmov     [rax-0Ch], r14d                                                ; +0x3e, 0x18008a6be\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x42, 0x18008a6c2\ntest    al, al                                                         ; +0x47, 0x18008a6c7\njz      short loc_18008A6E7                                            ; +0x49, 0x18008a6c9\nmov     rax, cs:__glewUniform4i                                        ; +0x4b, 0x18008a6cb\nmov     r9d, ebp                                                       ; +0x52, 0x18008a6d2\nmov     r8d, ebx                                                       ; +0x55, 0x18008a6d5\nmov     [rsp+48h+var_28], r14d                                         ; +0x58, 0x18008a6d8\nmov     edx, edi                                                       ; +0x5d, 0x18008a6dd\nmov     ecx, esi                                                       ; +0x5f, 0x18008a6df\nmov     r10, [rax]                                                     ; +0x61, 0x18008a6e1\ncall    r10                                                            ; +0x64, 0x18008a6e4\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x67, 0x18008a6e7\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x6c, 0x18008a6ec\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x71, 0x18008a6f1\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x76, 0x18008a6f6\nadd     rsp, 40h                                                       ; +0x7b, 0x18008a6fb\npop     r14                                                            ; +0x7f, 0x18008a6ff\nretn                                                                   ; +0x81, 0x18008a701", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfac0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}