{"type": "func", "start": 6443004672, "end": 6443004786, "name": "cocos2d::CCGLProgram::setUniformLocationWith3i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith3i from 0x180087300 to 0x180087372 (114 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b57c0\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::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[4]; // [rsp+20h] [rbp-48h] 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 0x180087300 to 0x180087372 (114 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b57c0\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, 0x180087300\npush    rbp                                                            ; +0x2, 0x180087302\npush    rsi                                                            ; +0x3, 0x180087303\npush    rdi                                                            ; +0x4, 0x180087304\nsub     rsp, 48h                                                       ; +0x5, 0x180087305\nmov     rax, cs:__security_cookie                                      ; +0x9, 0x180087309\nxor     rax, rsp                                                       ; +0x10, 0x180087310\nmov     [rsp+68h+var_38], rax                                          ; +0x13, 0x180087313\nmov     ebp, [rsp+68h+arg_20]                                          ; +0x18, 0x180087318\nmov     esi, r9d                                                       ; +0x1f, 0x18008731f\nmov     edi, r8d                                                       ; +0x22, 0x180087322\nmov     [rsp+68h+var_48], r8d                                          ; +0x25, 0x180087325\nmov     [rsp+68h+var_44], r9d                                          ; +0x2a, 0x18008732a\nlea     r8, [rsp+68h+var_48]; void *                                   ; +0x2f, 0x18008732f\nmov     r9d, 0Ch; unsigned int                                         ; +0x34, 0x180087334\nmov     [rsp+68h+var_40], ebp                                          ; +0x3a, 0x18008733a\nmov     ebx, edx                                                       ; +0x3e, 0x18008733e\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x40, 0x180087340\ntest    al, al                                                         ; +0x45, 0x180087345\njz      short loc_18008735C                                            ; +0x47, 0x180087347\nmov     rax, cs:__glewUniform3i                                        ; +0x49, 0x180087349\nmov     r9d, ebp                                                       ; +0x50, 0x180087350\nmov     r8d, esi                                                       ; +0x53, 0x180087353\nmov     edx, edi                                                       ; +0x56, 0x180087356\nmov     ecx, ebx                                                       ; +0x58, 0x180087358\ncall    qword ptr [rax]                                                ; +0x5a, 0x18008735a\nmov     rcx, [rsp+68h+var_38]                                          ; +0x5c, 0x18008735c\nxor     rcx, rsp; StackCookie                                          ; +0x61, 0x180087361\ncall    __security_check_cookie                                        ; +0x64, 0x180087364\nadd     rsp, 48h                                                       ; +0x69, 0x180087369\npop     rdi                                                            ; +0x6d, 0x18008736d\npop     rsi                                                            ; +0x6e, 0x18008736e\npop     rbp                                                            ; +0x6f, 0x18008736f\npop     rbx                                                            ; +0x70, 0x180087370\nretn                                                                   ; +0x71, 0x180087371", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b57c0"], "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"}