{"type": "func", "start": 6442777392, "end": 6442777490, "name": "cocos2d::CCLayerMultiplex::create", "pseudocode": "// \n// cocos2d::CCLayerMultiplex::create from 0x18004fb30 to 0x18004fb92 (98 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b1e78\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\n// Hidden C++ exception states: #wind=1\nstruct cocos2d::CCLayerMultiplex *__fastcall cocos2d::CCLayerMultiplex::create()\n{\n  cocos2d::CCLayerMultiplex *v0; // rax\n  cocos2d::CCLayerMultiplex *v1; // rbx\n\n  v0 = (cocos2d::CCLayerMultiplex *)operator new(0x1A8u);\n  if ( v0 )\n    v1 = cocos2d::CCLayerMultiplex::CCLayerMultiplex(v0);\n  else\n    v1 = nullptr;\n  if ( v1 )\n  {\n    if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCLayerMultiplex *))v1->init)(v1) )\n    {\n      cocos2d::CCObject::autorelease(v1);\n      return v1;\n    }\n    ((void (__fastcall *)(cocos2d::CCLayerMultiplex *, __int64))v1->~CCLayerMultiplex)(v1, 1);\n    return nullptr;\n  }\n  return v1;\n}", "assembly": "; \n; cocos2d::CCLayerMultiplex::create from 0x18004fb30 to 0x18004fb92 (98 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b1e78\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\npush    rbx                                                            ; +0x0, 0x18004fb30\nsub     rsp, 20h                                                       ; +0x2, 0x18004fb32\nmov     ecx, 1A8h; Size                                                ; +0x6, 0x18004fb36\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xb, 0x18004fb3b\nmov     [rsp+28h+arg_0], rax                                           ; +0x10, 0x18004fb40\ntest    rax, rax                                                       ; +0x15, 0x18004fb45\njz      short loc_18004FB57                                            ; +0x18, 0x18004fb48\nmov     rcx, rax; this                                                 ; +0x1a, 0x18004fb4a\ncall    ??0CCLayerMultiplex@cocos2d@@QEAA@XZ; cocos2d::CCLayerMultiplex::CCLayerMultiplex(void) ; +0x1d, 0x18004fb4d\nmov     rbx, rax                                                       ; +0x22, 0x18004fb52\njmp     short loc_18004FB59                                            ; +0x25, 0x18004fb55\nxor     ebx, ebx                                                       ; +0x27, 0x18004fb57\ntest    rbx, rbx                                                       ; +0x29, 0x18004fb59\njz      short loc_18004FB89                                            ; +0x2c, 0x18004fb5c\nmov     rdx, [rbx]                                                     ; +0x2e, 0x18004fb5e\nmov     rcx, rbx                                                       ; +0x31, 0x18004fb61\ncall    qword ptr [rdx+48h]                                            ; +0x34, 0x18004fb64\nmov     rcx, rbx; this                                                 ; +0x37, 0x18004fb67\ntest    al, al                                                         ; +0x3a, 0x18004fb6a\njz      short loc_18004FB7C                                            ; +0x3c, 0x18004fb6c\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x3e, 0x18004fb6e\nmov     rax, rbx                                                       ; +0x43, 0x18004fb73\nadd     rsp, 20h                                                       ; +0x46, 0x18004fb76\npop     rbx                                                            ; +0x4a, 0x18004fb7a\nretn                                                                   ; +0x4b, 0x18004fb7b\nmov     rax, [rbx]                                                     ; +0x4c, 0x18004fb7c\nmov     edx, 1                                                         ; +0x4f, 0x18004fb7f\ncall    qword ptr [rax+8]                                              ; +0x54, 0x18004fb84\nxor     ebx, ebx                                                       ; +0x57, 0x18004fb87\nmov     rax, rbx                                                       ; +0x59, 0x18004fb89\nadd     rsp, 20h                                                       ; +0x5c, 0x18004fb8c\npop     rbx                                                            ; +0x60, 0x18004fb90\nretn                                                                   ; +0x61, 0x18004fb91", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b1e78"], "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"}