{"type": "func", "start": 3172204, "end": 3172246, "name": "CCSpriteGrayscale::getShaderName", "pseudocode": "// \n// CCSpriteGrayscale::getShaderName from 0x30676c to 0x306796 (42 bytes)\n// \n// 0 xrefs:\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\nCCSpriteGrayscale *__fastcall CCSpriteGrayscale::getShaderName(CCSpriteGrayscale *this)\n{\n  sub_776584((int)this, \"grayscale_program\");\n  return this;\n}", "assembly": "; \n; CCSpriteGrayscale::getShaderName from 0x30676c to 0x306796 (42 bytes)\n; \n; 0 xrefs:\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            {R0-R2,R4,R5,LR}                                       ; +0x0, 0x30676c\nMOV             R2, SP                                                 ; +0x2, 0x30676e\nLDR             R4, =(__stack_chk_guard_ptr - 0x30677A)                ; +0x4, 0x306770\nMOV             R5, R0                                                 ; +0x6, 0x306772\nLDR             R1, =(aGrayscaleProgr - 0x30677E); \"grayscale_program\" ; +0x8, 0x306774\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x306776\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x306778\nADD             R1, PC; \"grayscale_program\"                            ; +0xe, 0x30677a\nLDR             R3, [R4]                                               ; +0x10, 0x30677c\nSTR             R3, [SP,#0xC+var_8]                                    ; +0x12, 0x30677e\nBL              sub_776584                                             ; +0x14, 0x306780\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x18, 0x306784\nMOV             R0, R5                                                 ; +0x1a, 0x306786\nLDR             R3, [R4]                                               ; +0x1c, 0x306788\nCMP             R2, R3                                                 ; +0x1e, 0x30678a\nBEQ             loc_306792                                             ; +0x20, 0x30678c\nBLX             __stack_chk_fail                                       ; +0x22, 0x30678e\nADD             SP, SP, #0xC                                           ; +0x26, 0x306792\nPOP             {R4,R5,PC}                                             ; +0x28, 0x306794", "xrefs": [], "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"}