{"type": "func", "start": 5372406880, "end": 5372406933, "name": "GJMGLayer::dGJMGLayer", "pseudocode": "// \n// GJMGLayer::dGJMGLayer from 0x140386c60 to 0x140386c95 (53 bytes)\n// \n// 3 xrefs:\n// > sub_1403882F0 @ 0x1403882f7\n// > <???> @ 0x140770c10\n// > <???> @ 0x140922ac0\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:31:07 +0000\n// \n\ncocos2d::CCLayer *__fastcall GJMGLayer::dGJMGLayer(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; GJMGLayer::dGJMGLayer from 0x140386c60 to 0x140386c95 (53 bytes)\n; \n; 3 xrefs:\n; > sub_1403882F0 @ 0x1403882f7\n; > <???> @ 0x140770c10\n; > <???> @ 0x140922ac0\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:31:07 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x140386c60\npush    rdi                                                            ; +0x5, 0x140386c65\nsub     rsp, 20h                                                       ; +0x6, 0x140386c66\nmov     ebx, edx                                                       ; +0xa, 0x140386c6a\nmov     rdi, rcx                                                       ; +0xc, 0x140386c6c\ncall    cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0xf, 0x140386c6f\ntest    bl, 1                                                          ; +0x15, 0x140386c75\njz      short loc_140386C87                                            ; +0x18, 0x140386c78\nmov     edx, 1E8h                                                      ; +0x1a, 0x140386c7a\nmov     rcx, rdi; Block                                                ; +0x1f, 0x140386c7f\ncall    j_j_free                                                       ; +0x22, 0x140386c82\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x27, 0x140386c87\nmov     rax, rdi                                                       ; +0x2c, 0x140386c8c\nadd     rsp, 20h                                                       ; +0x2f, 0x140386c8f\npop     rdi                                                            ; +0x33, 0x140386c93\nretn                                                                   ; +0x34, 0x140386c94", "xrefs": ["sub_1403882F0 @ 0x1403882f7", "<???> @ 0x140770c10", "<???> @ 0x140922ac0"], "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"}