{"type": "func", "start": 6012968, "end": 6013060, "name": "CCSpriteGrayscale::getShaderName", "pseudocode": "// \n// CCSpriteGrayscale::getShaderName from 0x5bc028 to 0x5bc084 (92 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x61788\n// > <???> @ 0x1145458\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 __usercall CCSpriteGrayscale::getShaderName@<X0>(CCSpriteGrayscale *this@<X0>, __int64 a2@<X8>)\n{\n  sub_D153B8(a2, \"grayscale_program\");\n  return a2;\n}", "assembly": "; \n; CCSpriteGrayscale::getShaderName from 0x5bc028 to 0x5bc084 (92 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x61788\n; > <???> @ 0x1145458\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_40]!                                ; +0x0, 0x5bc028\nADRP            X1, #aGrayscaleProgr@PAGE; \"grayscale_program\"         ; +0x4, 0x5bc02c\nMOV             X0, X8; int                                            ; +0x8, 0x5bc030\nMOV             X29, SP                                                ; +0xc, 0x5bc034\nSTR             X19, [SP,#0x40+var_30]                                 ; +0x10, 0x5bc038\nADRP            X19, #__stack_chk_guard_ptr@PAGE                       ; +0x14, 0x5bc03c\nADD             X1, X1, #aGrayscaleProgr@PAGEOFF; \"grayscale_program\"  ; +0x18, 0x5bc040\nADD             X2, X29, #0x40+var_10                                  ; +0x1c, 0x5bc044\nSTR             X8, [X29,#0x40+var_18]                                 ; +0x20, 0x5bc048\nLDR             X19, [X19,#__stack_chk_guard_ptr@PAGEOFF]; __stack_chk_guard ; +0x24, 0x5bc04c\nLDR             X3, [X19]                                              ; +0x28, 0x5bc050\nSTR             X3, [X29,#0x40+var_8]                                  ; +0x2c, 0x5bc054\nBL              sub_D153B8                                             ; +0x30, 0x5bc058\nLDR             X2, [X29,#0x40+var_8]                                  ; +0x34, 0x5bc05c\nLDR             X1, [X19]                                              ; +0x38, 0x5bc060\nLDR             X8, [X29,#0x40+var_18]                                 ; +0x3c, 0x5bc064\nCMP             X2, X1                                                 ; +0x40, 0x5bc068\nMOV             X0, X8                                                 ; +0x44, 0x5bc06c\nB.NE            loc_5BC080                                             ; +0x48, 0x5bc070\nLDR             X19, [SP,#0x40+var_30]                                 ; +0x4c, 0x5bc074\nLDP             X29, X30, [SP+0x40+var_40],#0x40                       ; +0x50, 0x5bc078\nRET                                                                    ; +0x54, 0x5bc07c\nBL              .__stack_chk_fail                                      ; +0x58, 0x5bc080", "xrefs": ["<???> @ 0x61788", "<???> @ 0x1145458"], "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"}