{"type": "func", "start": 5372194720, "end": 5372194852, "name": "CCNodeContainer::create", "pseudocode": "// \n// CCNodeContainer::create from 0x140352fa0 to 0x140353024 (132 bytes)\n// \n// 11 xrefs:\n// > GJBaseGameLayer::setupLayers @ 0x14030fbfd\n// > GJBaseGameLayer::setupLayers @ 0x14030fc26\n// > GJBaseGameLayer::setupLayers @ 0x14030fc4f\n// > GJBaseGameLayer::setupLayers @ 0x14030fc78\n// > GJBaseGameLayer::setupLayers @ 0x14030fca1\n// > GJBaseGameLayer::setupLayers @ 0x14030fcca\n// > GJBaseGameLayer::setupLayers @ 0x14030fcf3\n// > GJBaseGameLayer::setupLayers @ 0x14030fd1c\n// > GJBaseGameLayer::setupLayers @ 0x14030fd45\n// > GJBaseGameLayer::parentForZLayer @ 0x140315366\n// > <???> @ 0x1409203fc\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:30:48 +0000\n// \n\n// Hidden C++ exception states: #wind=1\nvoid *CCNodeContainer::create()\n{\n  void *v0; // rbx\n\n  v0 = operator new(0x140u);\n  memset(v0, 0, 0x140u);\n  cocos2d::CCNode::CCNode((cocos2d::CCNode *)v0);\n  *(_QWORD *)v0 = &CCNodeContainer::`vftable';\n  if ( cocos2d::CCNode::init((cocos2d::CCNode *)v0) )\n  {\n    cocos2d::CCObject::autorelease((cocos2d::CCObject *)v0);\n    return v0;\n  }\n  else\n  {\n    (*(void (__fastcall **)(void *, __int64))(*(_QWORD *)v0 + 8LL))(v0, 1);\n    return nullptr;\n  }\n}", "assembly": "; \n; CCNodeContainer::create from 0x140352fa0 to 0x140353024 (132 bytes)\n; \n; 11 xrefs:\n; > GJBaseGameLayer::setupLayers @ 0x14030fbfd\n; > GJBaseGameLayer::setupLayers @ 0x14030fc26\n; > GJBaseGameLayer::setupLayers @ 0x14030fc4f\n; > GJBaseGameLayer::setupLayers @ 0x14030fc78\n; > GJBaseGameLayer::setupLayers @ 0x14030fca1\n; > GJBaseGameLayer::setupLayers @ 0x14030fcca\n; > GJBaseGameLayer::setupLayers @ 0x14030fcf3\n; > GJBaseGameLayer::setupLayers @ 0x14030fd1c\n; > GJBaseGameLayer::setupLayers @ 0x14030fd45\n; > GJBaseGameLayer::parentForZLayer @ 0x140315366\n; > <???> @ 0x1409203fc\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:30:48 +0000\n; \npush    rbx                                                            ; +0x0, 0x140352fa0\nsub     rsp, 20h                                                       ; +0x2, 0x140352fa2\nmov     ecx, 140h; Size                                                ; +0x6, 0x140352fa6\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x140352fab\nmov     rbx, rax                                                       ; +0x10, 0x140352fb0\nmov     [rsp+28h+arg_0], rax                                           ; +0x13, 0x140352fb3\nxor     edx, edx; Val                                                  ; +0x18, 0x140352fb8\nmov     r8d, 140h; Size                                                ; +0x1a, 0x140352fba\nmov     rcx, rax; void *                                               ; +0x20, 0x140352fc0\ncall    memset                                                         ; +0x23, 0x140352fc3\nmov     rcx, rbx                                                       ; +0x28, 0x140352fc8\ncall    cs:??0CCNode@cocos2d@@QEAA@XZ; cocos2d::CCNode::CCNode(void)   ; +0x2b, 0x140352fcb\nlea     rax, ??_7CCNodeContainer@@6B@; const CCNodeContainer::`vftable' ; +0x31, 0x140352fd1\nmov     [rbx], rax                                                     ; +0x38, 0x140352fd8\nmov     rax, cs:off_14076AB38                                          ; +0x3b, 0x140352fdb\nlea     rcx, CCNodeContainer__init; Merged with: CCNodeContainer::init, CheckpointObject::init, GJEditorSoundConfig::init, GJFriendRequest::init, GJObjectDecoder::init, GJSmartBlockPreviewSprite::init, GJUserMessage::init ; +0x42, 0x140352fe2\ncmp     rax, rcx                                                       ; +0x49, 0x140352fe9\nmov     rcx, rbx                                                       ; +0x4c, 0x140352fec\njnz     short loc_140352FF9                                            ; +0x4f, 0x140352fef\ncall    cs:__imp_?init@CCNode@cocos2d@@UEAA_NXZ; cocos2d::CCNode::init(void) ; +0x51, 0x140352ff1\njmp     short loc_140352FFB                                            ; +0x57, 0x140352ff7\ncall    rax ; CCNodeContainer__init; Merged with: CCNodeContainer::init, CheckpointObject::init, GJEditorSoundConfig::init, GJFriendRequest::init, GJObjectDecoder::init, GJSmartBlockPreviewSprite::init, GJUserMessage::init ; +0x59, 0x140352ff9\nmov     rcx, rbx                                                       ; +0x5b, 0x140352ffb\ntest    al, al                                                         ; +0x5e, 0x140352ffe\njz      short loc_140353011                                            ; +0x60, 0x140353000\ncall    cs:?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x62, 0x140353002\nmov     rax, rbx                                                       ; +0x68, 0x140353008\nadd     rsp, 20h                                                       ; +0x6b, 0x14035300b\npop     rbx                                                            ; +0x6f, 0x14035300f\nretn                                                                   ; +0x70, 0x140353010\nmov     rax, [rbx]                                                     ; +0x71, 0x140353011\nmov     edx, 1                                                         ; +0x74, 0x140353014\ncall    qword ptr [rax+8]                                              ; +0x79, 0x140353019\nxor     eax, eax                                                       ; +0x7c, 0x14035301c\nadd     rsp, 20h                                                       ; +0x7e, 0x14035301e\npop     rbx                                                            ; +0x82, 0x140353022\nretn                                                                   ; +0x83, 0x140353023", "xrefs": ["GJBaseGameLayer::setupLayers @ 0x14030fbfd", "GJBaseGameLayer::setupLayers @ 0x14030fc26", "GJBaseGameLayer::setupLayers @ 0x14030fc4f", "GJBaseGameLayer::setupLayers @ 0x14030fc78", "GJBaseGameLayer::setupLayers @ 0x14030fca1", "GJBaseGameLayer::setupLayers @ 0x14030fcca", "GJBaseGameLayer::setupLayers @ 0x14030fcf3", "GJBaseGameLayer::setupLayers @ 0x14030fd1c", "GJBaseGameLayer::setupLayers @ 0x14030fd45", "GJBaseGameLayer::parentForZLayer @ 0x140315366", "<???> @ 0x1409203fc"], "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"}