{"type": "func", "start": 6443004016, "end": 6443004075, "name": "cocos2d::CCGLProgram::setUniformLocationWith1i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith1i from 0x180087070 to 0x1800870ab (59 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b576c\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::setUniformLocationWith1i(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        unsigned int a3)\n{\n  unsigned int v4; // [rsp+40h] [rbp+18h] BYREF\n\n  v4 = a3;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, &v4, 4u) )\n    _glewUniform1i(a2, v4);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith1i from 0x180087070 to 0x1800870ab (59 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b576c\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_10], r8d                                              ; +0x0, 0x180087070\npush    rbx                                                            ; +0x5, 0x180087075\nsub     rsp, 20h                                                       ; +0x6, 0x180087076\nmov     r9d, 4; unsigned int                                           ; +0xa, 0x18008707a\nlea     r8, [rsp+28h+arg_10]; void *                                   ; +0x10, 0x180087080\nmov     ebx, edx                                                       ; +0x15, 0x180087085\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x17, 0x180087087\ntest    al, al                                                         ; +0x1c, 0x18008708c\njz      short loc_1800870A5                                            ; +0x1e, 0x18008708e\nmov     rax, cs:__glewUniform1i                                        ; +0x20, 0x180087090\nmov     ecx, ebx                                                       ; +0x27, 0x180087097\nmov     edx, [rsp+28h+arg_10]                                          ; +0x29, 0x180087099\nadd     rsp, 20h                                                       ; +0x2d, 0x18008709d\npop     rbx                                                            ; +0x31, 0x1800870a1\njmp     qword ptr [rax]                                                ; +0x32, 0x1800870a2\nadd     rsp, 20h                                                       ; +0x35, 0x1800870a5\npop     rbx                                                            ; +0x39, 0x1800870a9\nretn                                                                   ; +0x3a, 0x1800870aa", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b576c"], "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"}