{"type": "func", "start": 5373360480, "end": 5373360613, "name": "MenuGameLayer::dMenuGameLayer", "pseudocode": "// \n// MenuGameLayer::dMenuGameLayer from 0x14046f960 to 0x14046f9e5 (133 bytes)\n// \n// 3 xrefs:\n// > sub_140471DB4 @ 0x140471dbb\n// > <???> @ 0x1407b3d28\n// > <???> @ 0x140928148\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:32:38 +0000\n// \n\ncocos2d::CCLayer *__fastcall MenuGameLayer::dMenuGameLayer(cocos2d::CCLayer *Block, char a2)\n{\n  *(_QWORD *)Block = &MenuGameLayer::`vftable';\n  *((_QWORD *)Block + 40) = &MenuGameLayer::`vftable';\n  *((_QWORD *)Block + 41) = &MenuGameLayer::`vftable';\n  *((_QWORD *)Block + 42) = &MenuGameLayer::`vftable';\n  *((_QWORD *)Block + 43) = &MenuGameLayer::`vftable';\n  *((_QWORD *)Block + 44) = &MenuGameLayer::`vftable';\n  cocos2d::CCLayer::~CCLayer(Block);\n  if ( (a2 & 1) != 0 )\n    j_j_free(Block);\n  return Block;\n}", "assembly": "; \n; MenuGameLayer::dMenuGameLayer from 0x14046f960 to 0x14046f9e5 (133 bytes)\n; \n; 3 xrefs:\n; > sub_140471DB4 @ 0x140471dbb\n; > <???> @ 0x1407b3d28\n; > <???> @ 0x140928148\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:32:38 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x14046f960\npush    rdi                                                            ; +0x5, 0x14046f965\nsub     rsp, 20h                                                       ; +0x6, 0x14046f966\nlea     rax, ??_7MenuGameLayer@@6B@; const MenuGameLayer::`vftable'    ; +0xa, 0x14046f96a\nmov     ebx, edx                                                       ; +0x11, 0x14046f971\nmov     [rcx], rax                                                     ; +0x13, 0x14046f973\nmov     rdi, rcx                                                       ; +0x16, 0x14046f976\nlea     rax, ??_7MenuGameLayer@@6B@_0; const MenuGameLayer::`vftable'  ; +0x19, 0x14046f979\nmov     [rcx+140h], rax                                                ; +0x20, 0x14046f980\nlea     rax, ??_7MenuGameLayer@@6B@_1; const MenuGameLayer::`vftable'  ; +0x27, 0x14046f987\nmov     [rcx+148h], rax                                                ; +0x2e, 0x14046f98e\nlea     rax, ??_7MenuGameLayer@@6B@_2; const MenuGameLayer::`vftable'  ; +0x35, 0x14046f995\nmov     [rcx+150h], rax                                                ; +0x3c, 0x14046f99c\nlea     rax, ??_7MenuGameLayer@@6B@_3; const MenuGameLayer::`vftable'  ; +0x43, 0x14046f9a3\nmov     [rcx+158h], rax                                                ; +0x4a, 0x14046f9aa\nlea     rax, ??_7MenuGameLayer@@6B@_4; const MenuGameLayer::`vftable'  ; +0x51, 0x14046f9b1\nmov     [rcx+160h], rax                                                ; +0x58, 0x14046f9b8\ncall    cs:__imp_??1CCLayer@cocos2d@@UEAA@XZ; cocos2d::CCLayer::~CCLayer(void) ; +0x5f, 0x14046f9bf\ntest    bl, 1                                                          ; +0x65, 0x14046f9c5\njz      short loc_14046F9D7                                            ; +0x68, 0x14046f9c8\nmov     edx, 1D0h                                                      ; +0x6a, 0x14046f9ca\nmov     rcx, rdi; Block                                                ; +0x6f, 0x14046f9cf\ncall    j_j_free                                                       ; +0x72, 0x14046f9d2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x77, 0x14046f9d7\nmov     rax, rdi                                                       ; +0x7c, 0x14046f9dc\nadd     rsp, 20h                                                       ; +0x7f, 0x14046f9df\npop     rdi                                                            ; +0x83, 0x14046f9e3\nretn                                                                   ; +0x84, 0x14046f9e4", "xrefs": ["sub_140471DB4 @ 0x140471dbb", "<???> @ 0x1407b3d28", "<???> @ 0x140928148"], "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"}