{"type": "func", "start": 6443016800, "end": 6443016862, "name": "cocos2d::CCGLProgram::setUniformLocationWith1i", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith1i from 0x18008a260 to 0x18008a29e (62 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfa3c\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::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 0x18008a260 to 0x18008a29e (62 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfa3c\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     [rsp+arg_10], r8d                                              ; +0x0, 0x18008a260\npush    rbx                                                            ; +0x5, 0x18008a265\nsub     rsp, 20h                                                       ; +0x6, 0x18008a266\nmov     r9d, 4; unsigned int                                           ; +0xa, 0x18008a26a\nlea     r8, [rsp+28h+arg_10]; void *                                   ; +0x10, 0x18008a270\nmov     ebx, edx                                                       ; +0x15, 0x18008a275\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x17, 0x18008a277\ntest    al, al                                                         ; +0x1c, 0x18008a27c\njz      short loc_18008A298                                            ; +0x1e, 0x18008a27e\nmov     rax, cs:__glewUniform1i                                        ; +0x20, 0x18008a280\nmov     ecx, ebx                                                       ; +0x27, 0x18008a287\nmov     edx, [rsp+28h+arg_10]                                          ; +0x29, 0x18008a289\nmov     r8, [rax]                                                      ; +0x2d, 0x18008a28d\nadd     rsp, 20h                                                       ; +0x30, 0x18008a290\npop     rbx                                                            ; +0x34, 0x18008a294\njmp     r8                                                             ; +0x35, 0x18008a295\nadd     rsp, 20h                                                       ; +0x38, 0x18008a298\npop     rbx                                                            ; +0x3c, 0x18008a29c\nretn                                                                   ; +0x3d, 0x18008a29d", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfa3c"], "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"}