// // CCSpriteWithHue::getUniformLocations from 0x306ae8 to 0x306b34 (76 bytes) // // 1 xrefs: // > CCSpriteWithHue::initShader @ 0x306c08 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void CCSpriteWithHue::getUniformLocations(CCSpriteWithHue *a1) { int UniformLocation; // r0 cocos2d::CCGLProgram *(__fastcall *getShaderProgram)(cocos2d::CCNode *__hidden); // r3 int v4; // r0 cocos2d::CCGLProgram *(__fastcall *v5)(cocos2d::CCNode *__hidden); // r3 a1->getShaderProgram(a1); UniformLocation = glGetUniformLocation(); getShaderProgram = a1->getShaderProgram; a1->m_uHueLoc = UniformLocation; getShaderProgram(a1); v4 = glGetUniformLocation(); v5 = a1->getShaderProgram; a1->m_uAlphaLoc = v4; v5(a1); a1->m_uLumLoc = glGetUniformLocation(); }