{"type": "func", "start": 6442647392, "end": 6442647519, "name": "cocos2d::CCPlace::create", "pseudocode": "// \n// cocos2d::CCPlace::create from 0x18002ff60 to 0x18002ffdf (127 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b00c0\n// > <???> @ 0x1801b00cc\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=2\nstruct cocos2d::CCPlace *__fastcall cocos2d::CCPlace::create(struct cocos2d::CCPoint *a1)\n{\n  cocos2d::CCAction *v2; // rax\n  cocos2d::CCAction *v3; // rbx\n\n  v2 = (cocos2d::CCAction *)operator new(0x60u);\n  v3 = v2;\n  if ( v2 )\n  {\n    cocos2d::CCAction::CCAction(v2);\n    LODWORD(v3[1].__vftable) = 0;\n    v3->__vftable = (cocos2d::CCAction_vtbl *)&cocos2d::CCPlace::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v3[1].m_uID);\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( !v3 )\n    return nullptr;\n  cocos2d::CCSize::operator=(&v3[1].m_uID, a1);\n  cocos2d::CCObject::autorelease(v3);\n  return (struct cocos2d::CCPlace *)v3;\n}", "assembly": "; \n; cocos2d::CCPlace::create from 0x18002ff60 to 0x18002ffdf (127 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b00c0\n; > <???> @ 0x1801b00cc\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\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18002ff60\npush    rdi                                                            ; +0x5, 0x18002ff65\nsub     rsp, 20h                                                       ; +0x6, 0x18002ff66\nmov     rdi, rcx                                                       ; +0xa, 0x18002ff6a\nmov     ecx, 60h ; '`'; Size                                           ; +0xd, 0x18002ff6d\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x12, 0x18002ff72\nmov     rbx, rax                                                       ; +0x17, 0x18002ff77\nmov     [rsp+28h+arg_8], rax                                           ; +0x1a, 0x18002ff7a\ntest    rax, rax                                                       ; +0x1f, 0x18002ff7f\njz      short loc_18002FFA9                                            ; +0x22, 0x18002ff82\nmov     rcx, rax; this                                                 ; +0x24, 0x18002ff84\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x27, 0x18002ff87\nmov     dword ptr [rbx+50h], 0                                         ; +0x2c, 0x18002ff8c\nlea     rax, ??_7CCPlace@cocos2d@@6B@; const cocos2d::CCPlace::`vftable' ; +0x33, 0x18002ff93\nmov     [rbx], rax                                                     ; +0x3a, 0x18002ff9a\nlea     rcx, [rbx+58h]; this                                           ; +0x3d, 0x18002ff9d\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x41, 0x18002ffa1\nnop                                                                    ; +0x46, 0x18002ffa6\njmp     short loc_18002FFAB                                            ; +0x47, 0x18002ffa7\nxor     ebx, ebx                                                       ; +0x49, 0x18002ffa9\ntest    rbx, rbx                                                       ; +0x4b, 0x18002ffab\njz      short loc_18002FFD2                                            ; +0x4e, 0x18002ffae\nlea     rcx, [rbx+58h]                                                 ; +0x50, 0x18002ffb0\nmov     rdx, rdi                                                       ; +0x54, 0x18002ffb4\ncall    ??4CCSize@cocos2d@@QEAAAEAV01@AEBVCCPoint@1@@Z; cocos2d::CCSize::operator=(cocos2d::CCPoint const &) ; +0x57, 0x18002ffb7\nmov     rcx, rbx; this                                                 ; +0x5c, 0x18002ffbc\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5f, 0x18002ffbf\nmov     rax, rbx                                                       ; +0x64, 0x18002ffc4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x67, 0x18002ffc7\nadd     rsp, 20h                                                       ; +0x6c, 0x18002ffcc\npop     rdi                                                            ; +0x70, 0x18002ffd0\nretn                                                                   ; +0x71, 0x18002ffd1\nxor     eax, eax                                                       ; +0x72, 0x18002ffd2\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x74, 0x18002ffd4\nadd     rsp, 20h                                                       ; +0x79, 0x18002ffd9\npop     rdi                                                            ; +0x7d, 0x18002ffdd\nretn                                                                   ; +0x7e, 0x18002ffde", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b00c0", "<???> @ 0x1801b00cc"], "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"}