{"type": "func", "start": 6443004080, "end": 6443004169, "name": "cocos2d::CCGLProgram::setUniformLocationWith2f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith2f from 0x1800870b0 to 0x180087109 (89 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5778\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::setUniformLocationWith2f(\n        cocos2d::CCGLProgram *this,\n        unsigned int a2,\n        float a3,\n        float a4)\n{\n  _DWORD v5[4]; // [rsp+20h] [rbp-38h] BYREF\n\n  *(float *)&v5[1] = a4;\n  *(float *)v5 = a3;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, v5, 8u) )\n    _glewUniform2f(a2);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith2f from 0x1800870b0 to 0x180087109 (89 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5778\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, 0x1800870b0\nsub     rsp, 50h                                                       ; +0x2, 0x1800870b2\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x6, 0x1800870b6\nlea     r8, [rsp+58h+var_38]; void *                                   ; +0xb, 0x1800870bb\nmovaps  [rsp+58h+var_28], xmm7                                         ; +0x10, 0x1800870c0\nmovaps  xmm6, xmm3                                                     ; +0x15, 0x1800870c5\nmovaps  xmm7, xmm2                                                     ; +0x18, 0x1800870c8\nmovss   [rsp+58h+var_34], xmm6                                         ; +0x1b, 0x1800870cb\nmov     r9d, 8; unsigned int                                           ; +0x21, 0x1800870d1\nmovss   [rsp+58h+var_38], xmm7                                         ; +0x27, 0x1800870d7\nmov     ebx, edx                                                       ; +0x2d, 0x1800870dd\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x2f, 0x1800870df\ntest    al, al                                                         ; +0x34, 0x1800870e4\njz      short loc_1800870F9                                            ; +0x36, 0x1800870e6\nmov     rax, cs:__glewUniform2f                                        ; +0x38, 0x1800870e8\nmovaps  xmm2, xmm6                                                     ; +0x3f, 0x1800870ef\nmovaps  xmm1, xmm7                                                     ; +0x42, 0x1800870f2\nmov     ecx, ebx                                                       ; +0x45, 0x1800870f5\ncall    qword ptr [rax]                                                ; +0x47, 0x1800870f7\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0x49, 0x1800870f9\nmovaps  xmm7, [rsp+58h+var_28]                                         ; +0x4e, 0x1800870fe\nadd     rsp, 50h                                                       ; +0x53, 0x180087103\npop     rbx                                                            ; +0x57, 0x180087107\nretn                                                                   ; +0x58, 0x180087108", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b5778"], "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"}