{"type": "func", "start": 4138984, "end": 4139060, "name": "CCSpriteWithHue::getUniformLocations", "pseudocode": "// \n// CCSpriteWithHue::getUniformLocations from 0x3f27e8 to 0x3f2834 (76 bytes)\n// \n// 1 xrefs:\n// > CCSpriteWithHue::initShader @ 0x3f3020\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:14 +0000\n// \n\nint __fastcall CCSpriteWithHue::getUniformLocations(CCSpriteWithHue *this)\n{\n  int UniformLocation; // r0\n  int v3; // r3\n  int v4; // r0\n  int v5; // r3\n  int result; // r0\n\n  (*(void (__fastcall **)(CCSpriteWithHue *))(*(_DWORD *)this + 328))(this);\n  UniformLocation = glGetUniformLocation();\n  v3 = *(_DWORD *)this;\n  *((_DWORD *)this + 140) = UniformLocation;\n  (*(void (__fastcall **)(CCSpriteWithHue *))(v3 + 328))(this);\n  v4 = glGetUniformLocation();\n  v5 = *(_DWORD *)this;\n  *((_DWORD *)this + 141) = v4;\n  (*(void (__fastcall **)(CCSpriteWithHue *))(v5 + 328))(this);\n  result = glGetUniformLocation();\n  *((_DWORD *)this + 142) = result;\n  return result;\n}", "assembly": "; \n; CCSpriteWithHue::getUniformLocations from 0x3f27e8 to 0x3f2834 (76 bytes)\n; \n; 1 xrefs:\n; > CCSpriteWithHue::initShader @ 0x3f3020\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:47:14 +0000\n; \nPUSH            {R4,LR}                                                ; +0x0, 0x3f27e8\nMOV             R4, R0                                                 ; +0x2, 0x3f27ea\nLDR             R3, [R0]                                               ; +0x4, 0x3f27ec\nLDR.W           R3, [R3,#0x148]                                        ; +0x6, 0x3f27ee\nBLX             R3                                                     ; +0xa, 0x3f27f2\nLDR             R1, =(aUHue - 0x3F27FA); \"u_hue\"                       ; +0xc, 0x3f27f4\nADD             R1, PC; \"u_hue\"                                        ; +0xe, 0x3f27f6\nLDR             R0, [R0,#0x34]                                         ; +0x10, 0x3f27f8\nBLX             glGetUniformLocation                                   ; +0x12, 0x3f27fa\nLDR             R3, [R4]                                               ; +0x16, 0x3f27fe\nSTR.W           R0, [R4,#0x230]                                        ; +0x18, 0x3f2800\nMOV             R0, R4                                                 ; +0x1c, 0x3f2804\nLDR.W           R3, [R3,#0x148]                                        ; +0x1e, 0x3f2806\nBLX             R3                                                     ; +0x22, 0x3f280a\nLDR             R1, =(aUAlpha - 0x3F2812); \"u_alpha\"                   ; +0x24, 0x3f280c\nADD             R1, PC; \"u_alpha\"                                      ; +0x26, 0x3f280e\nLDR             R0, [R0,#0x34]                                         ; +0x28, 0x3f2810\nBLX             glGetUniformLocation                                   ; +0x2a, 0x3f2812\nLDR             R3, [R4]                                               ; +0x2e, 0x3f2816\nSTR.W           R0, [R4,#0x234]                                        ; +0x30, 0x3f2818\nMOV             R0, R4                                                 ; +0x34, 0x3f281c\nLDR.W           R3, [R3,#0x148]                                        ; +0x36, 0x3f281e\nBLX             R3                                                     ; +0x3a, 0x3f2822\nLDR             R1, =(aULum - 0x3F282A); \"u_lum\"                       ; +0x3c, 0x3f2824\nADD             R1, PC; \"u_lum\"                                        ; +0x3e, 0x3f2826\nLDR             R0, [R0,#0x34]                                         ; +0x40, 0x3f2828\nBLX             glGetUniformLocation                                   ; +0x42, 0x3f282a\nSTR.W           R0, [R4,#0x238]                                        ; +0x46, 0x3f282e\nPOP             {R4,PC}                                                ; +0x4a, 0x3f2832", "xrefs": ["CCSpriteWithHue::initShader @ 0x3f3020"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "idp_name": "arm", "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"}