{"type": "func", "start": 6443004256, "end": 6443004340, "name": "cocos2d::CCGLProgram::setUniformLocationWith2i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith2i from 0x180087160 to 0x1800871b4 (84 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5790\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::setUniformLocationWith2i(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        unsigned int a3,\n        unsigned int a4)\n{\n  _DWORD v7[6]; // [rsp+20h] [rbp-18h] BYREF\n\n  v7[0] = a3;\n  v7[1] = a4;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v7, 8u) )\n    _glewUniform2i(a2, a3, a4);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith2i from 0x180087160 to 0x1800871b4 (84 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5790\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     [rsp+arg_0], rbx                                               ; +0x0, 0x180087160\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180087165\npush    rdi                                                            ; +0xa, 0x18008716a\nsub     rsp, 30h                                                       ; +0xb, 0x18008716b\nmov     ebx, r9d                                                       ; +0xf, 0x18008716f\nmov     [rsp+38h+var_18], r8d                                          ; +0x12, 0x180087172\nmov     edi, r8d                                                       ; +0x17, 0x180087177\nmov     [rsp+38h+var_14], ebx                                          ; +0x1a, 0x18008717a\nmov     r9d, 8; unsigned int                                           ; +0x1e, 0x18008717e\nlea     r8, [rsp+38h+var_18]; void *                                   ; +0x24, 0x180087184\nmov     esi, edx                                                       ; +0x29, 0x180087189\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x2b, 0x18008718b\ntest    al, al                                                         ; +0x30, 0x180087190\njz      short loc_1800871A4                                            ; +0x32, 0x180087192\nmov     rax, cs:__glewUniform2i                                        ; +0x34, 0x180087194\nmov     r8d, ebx                                                       ; +0x3b, 0x18008719b\nmov     edx, edi                                                       ; +0x3e, 0x18008719e\nmov     ecx, esi                                                       ; +0x40, 0x1800871a0\ncall    qword ptr [rax]                                                ; +0x42, 0x1800871a2\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x44, 0x1800871a4\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x49, 0x1800871a9\nadd     rsp, 30h                                                       ; +0x4e, 0x1800871ae\npop     rdi                                                            ; +0x52, 0x1800871b2\nretn                                                                   ; +0x53, 0x1800871b3", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b5790"], "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"}