{"type": "func", "start": 3172152, "end": 3172194, "name": "CCSpriteWithHue::getShaderName", "pseudocode": "// \n// CCSpriteWithHue::getShaderName from 0x306738 to 0x306762 (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\nCCSpriteWithHue *__fastcall CCSpriteWithHue::getShaderName(CCSpriteWithHue *this)\n{\n  sub_776584((int)this, \"hue_program\");\n  return this;\n}", "assembly": "; \n; CCSpriteWithHue::getShaderName from 0x306738 to 0x306762 (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, 0x306738\nMOV             R2, SP                                                 ; +0x2, 0x30673a\nLDR             R4, =(__stack_chk_guard_ptr - 0x306746)                ; +0x4, 0x30673c\nMOV             R5, R0                                                 ; +0x6, 0x30673e\nLDR             R1, =(aHueProgram - 0x30674A); \"hue_program\"           ; +0x8, 0x306740\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x306742\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x306744\nADD             R1, PC; \"hue_program\"                                  ; +0xe, 0x306746\nLDR             R3, [R4]                                               ; +0x10, 0x306748\nSTR             R3, [SP,#0xC+var_8]                                    ; +0x12, 0x30674a\nBL              sub_776584                                             ; +0x14, 0x30674c\nLDR             R2, [SP,#0xC+var_8]                                    ; +0x18, 0x306750\nMOV             R0, R5                                                 ; +0x1a, 0x306752\nLDR             R3, [R4]                                               ; +0x1c, 0x306754\nCMP             R2, R3                                                 ; +0x1e, 0x306756\nBEQ             loc_30675E                                             ; +0x20, 0x306758\nBLX             __stack_chk_fail                                       ; +0x22, 0x30675a\nADD             SP, SP, #0xC                                           ; +0x26, 0x30675e\nPOP             {R4,R5,PC}                                             ; +0x28, 0x306760", "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"}