; ; cocos2d::CCGLProgram::setUniformLocationWith3i from 0x18008a4d0 to 0x18008a539 (105 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801bfa90 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:22:05 +0000 ; mov rax, rsp ; +0x0, 0x18008a4d0 mov [rax+8], rbx ; +0x3, 0x18008a4d3 mov [rax+10h], rbp ; +0x7, 0x18008a4d7 mov [rax+18h], rsi ; +0xb, 0x18008a4db push rdi ; +0xf, 0x18008a4df sub rsp, 30h ; +0x10, 0x18008a4e0 mov ebp, [rsp+38h+arg_20] ; +0x14, 0x18008a4e4 mov ebx, r9d ; +0x18, 0x18008a4e8 mov edi, r8d ; +0x1b, 0x18008a4eb mov [rax-18h], r8d ; +0x1e, 0x18008a4ee mov r9d, 0Ch; unsigned int ; +0x22, 0x18008a4f2 mov [rax-14h], ebx ; +0x28, 0x18008a4f8 lea r8, [rax-18h]; void * ; +0x2b, 0x18008a4fb mov [rax-10h], ebp ; +0x2f, 0x18008a4ff mov esi, edx ; +0x32, 0x18008a502 call ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x34, 0x18008a504 test al, al ; +0x39, 0x18008a509 jz short loc_18008A524 ; +0x3b, 0x18008a50b mov rax, cs:__glewUniform3i ; +0x3d, 0x18008a50d mov r9d, ebp ; +0x44, 0x18008a514 mov r8d, ebx ; +0x47, 0x18008a517 mov edx, edi ; +0x4a, 0x18008a51a mov ecx, esi ; +0x4c, 0x18008a51c mov r10, [rax] ; +0x4e, 0x18008a51e call r10 ; +0x51, 0x18008a521 mov rbx, [rsp+38h+arg_0] ; +0x54, 0x18008a524 mov rbp, [rsp+38h+arg_8] ; +0x59, 0x18008a529 mov rsi, [rsp+38h+arg_10] ; +0x5e, 0x18008a52e add rsp, 30h ; +0x63, 0x18008a533 pop rdi ; +0x67, 0x18008a537 retn ; +0x68, 0x18008a538