{"type": "func", "start": 6443017424, "end": 6443017529, "name": "cocos2d::CCGLProgram::setUniformLocationWith3i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith3i from 0x18008a4d0 to 0x18008a539 (105 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfa90\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::setUniformLocationWith3i(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        unsigned int a3,\n        unsigned int a4,\n        unsigned int a5)\n{\n  _DWORD v8[6]; // [rsp+20h] [rbp-18h] BYREF\n\n  v8[0] = a3;\n  v8[1] = a4;\n  v8[2] = a5;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v8, 0xCu) )\n    _glewUniform3i(a2, a3, a4, a5);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith3i from 0x18008a4d0 to 0x18008a539 (105 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfa90\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, 0x18008a4d0\nmov     [rax+8], rbx                                                   ; +0x3, 0x18008a4d3\nmov     [rax+10h], rbp                                                 ; +0x7, 0x18008a4d7\nmov     [rax+18h], rsi                                                 ; +0xb, 0x18008a4db\npush    rdi                                                            ; +0xf, 0x18008a4df\nsub     rsp, 30h                                                       ; +0x10, 0x18008a4e0\nmov     ebp, [rsp+38h+arg_20]                                          ; +0x14, 0x18008a4e4\nmov     ebx, r9d                                                       ; +0x18, 0x18008a4e8\nmov     edi, r8d                                                       ; +0x1b, 0x18008a4eb\nmov     [rax-18h], r8d                                                 ; +0x1e, 0x18008a4ee\nmov     r9d, 0Ch; unsigned int                                         ; +0x22, 0x18008a4f2\nmov     [rax-14h], ebx                                                 ; +0x28, 0x18008a4f8\nlea     r8, [rax-18h]; void *                                          ; +0x2b, 0x18008a4fb\nmov     [rax-10h], ebp                                                 ; +0x2f, 0x18008a4ff\nmov     esi, edx                                                       ; +0x32, 0x18008a502\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x34, 0x18008a504\ntest    al, al                                                         ; +0x39, 0x18008a509\njz      short loc_18008A524                                            ; +0x3b, 0x18008a50b\nmov     rax, cs:__glewUniform3i                                        ; +0x3d, 0x18008a50d\nmov     r9d, ebp                                                       ; +0x44, 0x18008a514\nmov     r8d, ebx                                                       ; +0x47, 0x18008a517\nmov     edx, edi                                                       ; +0x4a, 0x18008a51a\nmov     ecx, esi                                                       ; +0x4c, 0x18008a51c\nmov     r10, [rax]                                                     ; +0x4e, 0x18008a51e\ncall    r10                                                            ; +0x51, 0x18008a521\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x54, 0x18008a524\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x59, 0x18008a529\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x5e, 0x18008a52e\nadd     rsp, 30h                                                       ; +0x63, 0x18008a533\npop     rdi                                                            ; +0x67, 0x18008a537\nretn                                                                   ; +0x68, 0x18008a538", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfa90"], "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"}