{"type": "func", "start": 6442501216, "end": 6442501269, "name": "sub_18000C460", "pseudocode": "// \n// sub_18000C460 from 0x18000c460 to 0x18000c495 (53 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x180026b10\n// > <???> @ 0x180049d44\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\ncocos2d::CCGLProgram *__fastcall sub_18000C460(cocos2d::CCGLProgram *Block, char a2)\n{\n  cocos2d::CCGLProgram::~CCGLProgram(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; sub_18000C460 from 0x18000c460 to 0x18000c495 (53 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x180026b10\n; > <???> @ 0x180049d44\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18000c460\npush    rdi                                                            ; +0x5, 0x18000c465\nsub     rsp, 20h                                                       ; +0x6, 0x18000c466\nmov     ebx, edx                                                       ; +0xa, 0x18000c46a\nmov     rdi, rcx                                                       ; +0xc, 0x18000c46c\ncall    cs:??1CCGLProgram@cocos2d@@UEAA@XZ; cocos2d::CCGLProgram::~CCGLProgram(void) ; +0xf, 0x18000c46f\ntest    bl, 1                                                          ; +0x15, 0x18000c475\njz      short loc_18000C487                                            ; +0x18, 0x18000c478\nmov     edx, 78h ; 'x'                                                 ; +0x1a, 0x18000c47a\nmov     rcx, rdi; Block                                                ; +0x1f, 0x18000c47f\ncall    j_j_free                                                       ; +0x22, 0x18000c482\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x27, 0x18000c487\nmov     rax, rdi                                                       ; +0x2c, 0x18000c48c\nadd     rsp, 20h                                                       ; +0x2f, 0x18000c48f\npop     rdi                                                            ; +0x33, 0x18000c493\nretn                                                                   ; +0x34, 0x18000c494", "xrefs": ["<???> @ 0x180026b10", "<???> @ 0x180049d44"], "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"}