{"type": "func", "start": 6443016720, "end": 6443016785, "name": "cocos2d::CCGLProgram::setUniformLocationWith1f", "pseudocode": "// \n// cocos2d::CCGLProgram::setUniformLocationWith1f from 0x18008a210 to 0x18008a251 (65 bytes)\n// \n// 7 xrefs:\n// > cocos2d::ccDrawLines @ 0x18001171f\n// > cocos2d::ccDrawPoint @ 0x180011819\n// > cocos2d::ccDrawPoints @ 0x1800118df\n// > cocos2d::CCClippingNode::visit @ 0x18005e84f\n// > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800aff16\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801bfa30\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::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 0x18008a210 to 0x18008a251 (65 bytes)\n; \n; 7 xrefs:\n; > cocos2d::ccDrawLines @ 0x18001171f\n; > cocos2d::ccDrawPoint @ 0x180011819\n; > cocos2d::ccDrawPoints @ 0x1800118df\n; > cocos2d::CCClippingNode::visit @ 0x18005e84f\n; > cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800aff16\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801bfa30\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; \nmovss   [rsp+arg_10], xmm2                                             ; +0x0, 0x18008a210\npush    rbx                                                            ; +0x6, 0x18008a216\nsub     rsp, 20h                                                       ; +0x7, 0x18008a217\nmov     r9d, 4; unsigned int                                           ; +0xb, 0x18008a21b\nlea     r8, [rsp+28h+arg_10]; void *                                   ; +0x11, 0x18008a221\nmov     ebx, edx                                                       ; +0x16, 0x18008a226\ncall    ?updateUniformLocation@CCGLProgram@cocos2d@@AEAA_NHPEAXI@Z; cocos2d::CCGLProgram::updateUniformLocation(int,void *,uint) ; +0x18, 0x18008a228\ntest    al, al                                                         ; +0x1d, 0x18008a22d\njz      short loc_18008A24B                                            ; +0x1f, 0x18008a22f\nmov     rax, cs:__glewUniform1f                                        ; +0x21, 0x18008a231\nmov     ecx, ebx                                                       ; +0x28, 0x18008a238\nmovss   xmm1, [rsp+28h+arg_10]                                         ; +0x2a, 0x18008a23a\nmov     r8, [rax]                                                      ; +0x30, 0x18008a240\nadd     rsp, 20h                                                       ; +0x33, 0x18008a243\npop     rbx                                                            ; +0x37, 0x18008a247\njmp     r8                                                             ; +0x38, 0x18008a248\nadd     rsp, 20h                                                       ; +0x3b, 0x18008a24b\npop     rbx                                                            ; +0x3f, 0x18008a24f\nretn                                                                   ; +0x40, 0x18008a250", "xrefs": ["cocos2d::ccDrawLines @ 0x18001171f", "cocos2d::ccDrawPoint @ 0x180011819", "cocos2d::ccDrawPoints @ 0x1800118df", "cocos2d::CCClippingNode::visit @ 0x18005e84f", "cocos2d::CCTMXLayer::parseInternalProperties @ 0x1800aff16", "<???> @ 0x18014cf68", "<???> @ 0x1801bfa30"], "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"}