{"type": "func", "start": 4302058560, "end": 4302058672, "name": "CCSpriteWithHue::getUniformLocations", "pseudocode": "// \n// CCSpriteWithHue::getUniformLocations from 0x1006c3440 to 0x1006c34b0 (112 bytes)\n// \n// 0 xrefs:\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 12:35:32 +0000\n// \n\nGLint __fastcall CCSpriteWithHue::getUniformLocations(_DWORD *a1)\n{\n  __int64 v2; // rax\n  __int64 v3; // rax\n  __int64 v4; // rax\n  GLint result; // eax\n\n  v2 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 656LL))(a1);\n  a1[162] = glGetUniformLocation(*(_DWORD *)(v2 + 56), \"u_hue\");\n  v3 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 656LL))(a1);\n  a1[163] = glGetUniformLocation(*(_DWORD *)(v3 + 56), \"u_alpha\");\n  v4 = (*(__int64 (__fastcall **)(_DWORD *))(*(_QWORD *)a1 + 656LL))(a1);\n  result = glGetUniformLocation(*(_DWORD *)(v4 + 56), \"u_lum\");\n  a1[164] = result;\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::getUniformLocations from 0x1006c3440 to 0x1006c34b0 (112 bytes)\n; \n; 0 xrefs:\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 12:35:32 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006c3440\nmov     rbp, rsp                                                       ; +0x1, 0x1006c3441\npush    rbx                                                            ; +0x4, 0x1006c3444\npush    rax                                                            ; +0x5, 0x1006c3445\nmov     rbx, rdi                                                       ; +0x6, 0x1006c3446\nmov     rax, [rdi]                                                     ; +0x9, 0x1006c3449\ncall    qword ptr [rax+290h]                                           ; +0xc, 0x1006c344c\nmov     edi, [rax+38h]; program                                        ; +0x12, 0x1006c3452\nlea     rsi, aUHue; \"u_hue\"                                            ; +0x15, 0x1006c3455\ncall    _glGetUniformLocation                                          ; +0x1c, 0x1006c345c\nmov     [rbx+288h], eax                                                ; +0x21, 0x1006c3461\nmov     rax, [rbx]                                                     ; +0x27, 0x1006c3467\nmov     rdi, rbx                                                       ; +0x2a, 0x1006c346a\ncall    qword ptr [rax+290h]                                           ; +0x2d, 0x1006c346d\nmov     edi, [rax+38h]; program                                        ; +0x33, 0x1006c3473\nlea     rsi, aUAlpha; \"u_alpha\"                                        ; +0x36, 0x1006c3476\ncall    _glGetUniformLocation                                          ; +0x3d, 0x1006c347d\nmov     [rbx+28Ch], eax                                                ; +0x42, 0x1006c3482\nmov     rax, [rbx]                                                     ; +0x48, 0x1006c3488\nmov     rdi, rbx                                                       ; +0x4b, 0x1006c348b\ncall    qword ptr [rax+290h]                                           ; +0x4e, 0x1006c348e\nmov     edi, [rax+38h]; program                                        ; +0x54, 0x1006c3494\nlea     rsi, aULum; \"u_lum\"                                            ; +0x57, 0x1006c3497\ncall    _glGetUniformLocation                                          ; +0x5e, 0x1006c349e\nmov     [rbx+290h], eax                                                ; +0x63, 0x1006c34a3\nadd     rsp, 8                                                         ; +0x69, 0x1006c34a9\npop     rbx                                                            ; +0x6d, 0x1006c34ad\npop     rbp                                                            ; +0x6e, 0x1006c34ae\nretn                                                                   ; +0x6f, 0x1006c34af", "xrefs": [], "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"}