{"type": "func", "start": 6443017216, "end": 6443017336, "name": "cocos2d::CCGLProgram::setUniformLocationWith3f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith3f from 0x18008a400 to 0x18008a478 (120 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfa78\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::setUniformLocationWith3f(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        float a3,\n        float a4,\n        float a5)\n{\n  _DWORD v6[4]; // [rsp+20h] [rbp-48h] BYREF\n\n  *(float *)&v6[2] = a5;\n  *(float *)v6 = a3;\n  *(float *)&v6[1] = a4;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v6, 0xCu) )\n    _glewUniform3f(a2);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith3f from 0x18008a400 to 0x18008a478 (120 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfa78\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     rax, rsp                                                       ; +0x0, 0x18008a400\npush    rbx                                                            ; +0x3, 0x18008a403\nsub     rsp, 60h                                                       ; +0x4, 0x18008a404\nmovaps  xmmword ptr [rax-18h], xmm6                                    ; +0x8, 0x18008a408\nlea     r8, [rax-48h]; void *                                          ; +0xc, 0x18008a40c\nmovaps  xmmword ptr [rax-28h], xmm7                                    ; +0x10, 0x18008a410\nmovaps  xmm6, xmm3                                                     ; +0x14, 0x18008a414\nmovaps  xmmword ptr [rax-38h], xmm8                                    ; +0x17, 0x18008a417\nmovaps  xmm7, xmm2                                                     ; +0x1c, 0x18008a41c\nmovss   xmm8, [rsp+68h+arg_20]                                         ; +0x1f, 0x18008a41f\nmov     r9d, 0Ch; unsigned int                                         ; +0x29, 0x18008a429\nmovss   dword ptr [rax-40h], xmm8                                      ; +0x2f, 0x18008a42f\nmov     ebx, edx                                                       ; +0x35, 0x18008a435\nmovss   dword ptr [rax-48h], xmm7                                      ; +0x37, 0x18008a437\nmovss   dword ptr [rax-44h], xmm6                                      ; +0x3c, 0x18008a43c\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x41, 0x18008a441\ntest    al, al                                                         ; +0x46, 0x18008a446\njz      short loc_18008A462                                            ; +0x48, 0x18008a448\nmov     rax, cs:__glewUniform3f                                        ; +0x4a, 0x18008a44a\nmovaps  xmm3, xmm8                                                     ; +0x51, 0x18008a451\nmovaps  xmm2, xmm6                                                     ; +0x55, 0x18008a455\nmovaps  xmm1, xmm7                                                     ; +0x58, 0x18008a458\nmov     ecx, ebx                                                       ; +0x5b, 0x18008a45b\nmov     rdx, [rax]                                                     ; +0x5d, 0x18008a45d\ncall    rdx                                                            ; +0x60, 0x18008a460\nmovaps  xmm6, [rsp+68h+var_18]                                         ; +0x62, 0x18008a462\nmovaps  xmm7, [rsp+68h+var_28]                                         ; +0x67, 0x18008a467\nmovaps  xmm8, [rsp+68h+var_38]                                         ; +0x6c, 0x18008a46c\nadd     rsp, 60h                                                       ; +0x72, 0x18008a472\npop     rbx                                                            ; +0x76, 0x18008a476\nretn                                                                   ; +0x77, 0x18008a477", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801bfa78"], "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"}