{"type": "func", "start": 5369008176, "end": 5369008265, "name": "CCSpriteGrayscale::getShaderName", "pseudocode": "// \n// CCSpriteGrayscale::getShaderName from 0x140049030 to 0x140049089 (89 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x140531068\n// > <???> @ 0x1406c4c14\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\n__int64 __fastcall CCSpriteGrayscale::getShaderName(__int64 a1, __int64 a2)\n{\n  char *v3; // rax\n\n  *(_OWORD *)a2 = 0;\n  *(_QWORD *)(a2 + 16) = 0;\n  *(_QWORD *)(a2 + 24) = 15;\n  v3 = (char *)sub_14003AA10(0x20u);\n  *(_QWORD *)a2 = v3;\n  *(_QWORD *)(a2 + 16) = 17;\n  *(_QWORD *)(a2 + 24) = 31;\n  strcpy(v3, \"grayscale_program\");\n  return a2;\n}", "assembly": "; \n; CCSpriteGrayscale::getShaderName from 0x140049030 to 0x140049089 (89 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x140531068\n; > <???> @ 0x1406c4c14\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\npush    rbx                                                            ; +0x0, 0x140049030\nsub     rsp, 30h                                                       ; +0x2, 0x140049032\nxor     eax, eax                                                       ; +0x6, 0x140049036\nxorps   xmm0, xmm0                                                     ; +0x8, 0x140049038\nmovups  xmmword ptr [rdx], xmm0                                        ; +0xb, 0x14004903b\nmov     [rdx+10h], rax                                                 ; +0xe, 0x14004903e\nmov     rbx, rdx                                                       ; +0x12, 0x140049042\nmov     qword ptr [rdx+18h], 0Fh                                       ; +0x15, 0x140049045\nlea     ecx, [rax+20h]                                                 ; +0x1d, 0x14004904d\ncall    sub_14003AA10                                                  ; +0x20, 0x140049050\nmov     [rbx], rax                                                     ; +0x25, 0x140049055\nmov     qword ptr [rbx+10h], 11h                                       ; +0x28, 0x140049058\nmov     qword ptr [rbx+18h], 1Fh                                       ; +0x30, 0x140049060\nmovups  xmm0, cs:xmmword_140530BA0                                     ; +0x38, 0x140049068\nmovups  xmmword ptr [rax], xmm0                                        ; +0x3f, 0x14004906f\nmovzx   ecx, cs:byte_140530BB0                                         ; +0x42, 0x140049072\nmov     [rax+10h], cl                                                  ; +0x49, 0x140049079\nmov     byte ptr [rax+11h], 0                                          ; +0x4c, 0x14004907c\nmov     rax, rbx                                                       ; +0x50, 0x140049080\nadd     rsp, 30h                                                       ; +0x53, 0x140049083\npop     rbx                                                            ; +0x57, 0x140049087\nretn                                                                   ; +0x58, 0x140049088", "xrefs": ["<???> @ 0x140531068", "<???> @ 0x1406c4c14"], "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"}