{"type": "func", "start": 5368973600, "end": 5368973653, "name": "ExtendedLayer::dExtendedLayer", "pseudocode": "// \n// ExtendedLayer::dExtendedLayer from 0x140040920 to 0x140040955 (53 bytes)\n// \n// 4 xrefs:\n// > sub_140042760 @ 0x140042767\n// > <???> @ 0x1407066a8\n// > <???> @ 0x14090f464\n// > <???> @ 0x14090f470\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:25:29 +0000\n// \n\ncocos2d::CCLayer *__fastcall ExtendedLayer::dExtendedLayer(cocos2d::CCLayer *Block, char a2)\n{\n  cocos2d::CCLayer::~CCLayer(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; ExtendedLayer::dExtendedLayer from 0x140040920 to 0x140040955 (53 bytes)\n; \n; 4 xrefs:\n; > sub_140042760 @ 0x140042767\n; > <???> @ 0x1407066a8\n; > <???> @ 0x14090f464\n; > <???> @ 0x14090f470\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:25:29 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140040920\npush    rdi                                                            ; +0x5, 0x140040925\nsub     rsp, 20h                                                       ; +0x6, 0x140040926\nmov     ebx, edx                                                       ; +0xa, 0x14004092a\nmov     rdi, rcx                                                       ; +0xc, 0x14004092c\ncall    cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0xf, 0x14004092f\ntest    bl, 1                                                          ; +0x15, 0x140040935\njz      short loc_140040947                                            ; +0x18, 0x140040938\nmov     edx, 1A0h                                                      ; +0x1a, 0x14004093a\nmov     rcx, rdi; Block                                                ; +0x1f, 0x14004093f\ncall    j_j_free                                                       ; +0x22, 0x140040942\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x27, 0x140040947\nmov     rax, rdi                                                       ; +0x2c, 0x14004094c\nadd     rsp, 20h                                                       ; +0x2f, 0x14004094f\npop     rdi                                                            ; +0x33, 0x140040953\nretn                                                                   ; +0x34, 0x140040954", "xrefs": ["sub_140042760 @ 0x140042767", "<???> @ 0x1407066a8", "<???> @ 0x14090f464", "<???> @ 0x14090f470"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}