{"type": "func", "start": 6014660, "end": 6014792, "name": "CCSpriteWithHue::getUniformLocations", "pseudocode": "// \n// CCSpriteWithHue::getUniformLocations from 0x5bc6c4 to 0x5bc748 (132 bytes)\n// \n// 2 xrefs:\n// > CCSpriteWithHue::initShader @ 0x5bc7d4\n// > <???> @ 0xb75a0\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 CCSpriteWithHue::getUniformLocations(CCSpriteWithHue *a1)\n{\n  a1->getShaderProgram(a1);\n  a1->m_uHueLoc = glGetUniformLocation();\n  a1->getShaderProgram(a1);\n  a1->m_uAlphaLoc = glGetUniformLocation();\n  a1->getShaderProgram(a1);\n  a1->m_uLumLoc = glGetUniformLocation();\n}", "assembly": "; \n; CCSpriteWithHue::getUniformLocations from 0x5bc6c4 to 0x5bc748 (132 bytes)\n; \n; 2 xrefs:\n; > CCSpriteWithHue::initShader @ 0x5bc7d4\n; > <???> @ 0xb75a0\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\nSTP             X29, X30, [SP,#var_20]!                                ; +0x0, 0x5bc6c4\nMOV             X29, SP                                                ; +0x4, 0x5bc6c8\nLDR             X1, [X0]                                               ; +0x8, 0x5bc6cc\nSTR             X19, [SP,#0x20+var_10]                                 ; +0xc, 0x5bc6d0\nMOV             X19, X0                                                ; +0x10, 0x5bc6d4\nLDR             X1, [X1,#0x280]                                        ; +0x14, 0x5bc6d8\nBLR             X1                                                     ; +0x18, 0x5bc6dc\nLDR             W0, [X0,#0x38]                                         ; +0x1c, 0x5bc6e0\nADRL            X1, aUHue; \"u_hue\"                                     ; +0x20, 0x5bc6e4\nBL              .glGetUniformLocation                                  ; +0x28, 0x5bc6ec\nSTR             W0, [X19,#0x288]                                       ; +0x2c, 0x5bc6f0\nLDR             X1, [X19]                                              ; +0x30, 0x5bc6f4\nMOV             X0, X19                                                ; +0x34, 0x5bc6f8\nLDR             X1, [X1,#0x280]                                        ; +0x38, 0x5bc6fc\nBLR             X1                                                     ; +0x3c, 0x5bc700\nLDR             W0, [X0,#0x38]                                         ; +0x40, 0x5bc704\nADRL            X1, aUAlpha; \"u_alpha\"                                 ; +0x44, 0x5bc708\nBL              .glGetUniformLocation                                  ; +0x4c, 0x5bc710\nSTR             W0, [X19,#0x28C]                                       ; +0x50, 0x5bc714\nLDR             X1, [X19]                                              ; +0x54, 0x5bc718\nMOV             X0, X19                                                ; +0x58, 0x5bc71c\nLDR             X1, [X1,#0x280]                                        ; +0x5c, 0x5bc720\nBLR             X1                                                     ; +0x60, 0x5bc724\nLDR             W0, [X0,#0x38]                                         ; +0x64, 0x5bc728\nADRL            X1, aULum; \"u_lum\"                                     ; +0x68, 0x5bc72c\nBL              .glGetUniformLocation                                  ; +0x70, 0x5bc734\nSTR             W0, [X19,#0x290]                                       ; +0x74, 0x5bc738\nLDR             X19, [SP,#0x20+var_10]                                 ; +0x78, 0x5bc73c\nLDP             X29, X30, [SP+0x20+var_20],#0x20                       ; +0x7c, 0x5bc740\nRET                                                                    ; +0x80, 0x5bc744", "xrefs": ["CCSpriteWithHue::initShader @ 0x5bc7d4", "<???> @ 0xb75a0"], "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"}