{"type": "func", "start": 6443003952, "end": 6443004014, "name": "cocos2d::CCGLProgram::setUniformLocationWith1f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith1f from 0x180087030 to 0x18008706e (62 bytes)\n// \n// 7 xrefs:\n// > cocos2d::ccDrawLines @ 0x18001156f\n// > cocos2d::ccDrawPoint @ 0x180011669\n// > cocos2d::ccDrawPoints @ 0x18001172f\n// > cocos2d::CCClippingNode::visit @ 0x18005c80b\n// > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800ac6fb\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b5760\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::setUniformLocationWith1f(cocos2d::CCGLProgram *this, unsigned int a2, float a3)\n{\n  float v4; // [rsp+40h] [rbp+18h] BYREF\n\n  v4 = a3;\n  if ( cocos2d::CCGLProgram::updateUniformLocation(this, a2, &v4, 4u) )\n    _glewUniform1f(a2);\n}", "assembly": "; \n; cocos2d::CCGLProgram::setUniformLocationWith1f from 0x180087030 to 0x18008706e (62 bytes)\n; \n; 7 xrefs:\n; > cocos2d::ccDrawLines @ 0x18001156f\n; > cocos2d::ccDrawPoint @ 0x180011669\n; > cocos2d::ccDrawPoints @ 0x18001172f\n; > cocos2d::CCClippingNode::visit @ 0x18005c80b\n; > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800ac6fb\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b5760\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\nmovss   [rsp+arg_10], xmm2                                             ; +0x0, 0x180087030\npush    rbx                                                            ; +0x6, 0x180087036\nsub     rsp, 20h                                                       ; +0x7, 0x180087037\nmov     r9d, 4; unsigned int                                           ; +0xb, 0x18008703b\nlea     r8, [rsp+28h+arg_10]; void *                                   ; +0x11, 0x180087041\nmov     ebx, edx                                                       ; +0x16, 0x180087046\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x18, 0x180087048\ntest    al, al                                                         ; +0x1d, 0x18008704d\njz      short loc_180087068                                            ; +0x1f, 0x18008704f\nmov     rax, cs:__glewUniform1f                                        ; +0x21, 0x180087051\nmov     ecx, ebx                                                       ; +0x28, 0x180087058\nmovss   xmm1, [rsp+28h+arg_10]                                         ; +0x2a, 0x18008705a\nadd     rsp, 20h                                                       ; +0x30, 0x180087060\npop     rbx                                                            ; +0x34, 0x180087064\njmp     qword ptr [rax]                                                ; +0x35, 0x180087065\nadd     rsp, 20h                                                       ; +0x38, 0x180087068\npop     rbx                                                            ; +0x3c, 0x18008706c\nretn                                                                   ; +0x3d, 0x18008706d", "xrefs": ["cocos2d::ccDrawLines @ 0x18001156f", "cocos2d::ccDrawPoint @ 0x180011669", "cocos2d::ccDrawPoints @ 0x18001172f", "cocos2d::CCClippingNode::visit @ 0x18005c80b", "cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800ac6fb", "<???> @ 0x1801438a8", "<???> @ 0x1801b5760"], "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"}