{"type": "func", "start": 6442690528, "end": 6442690785, "name": "cocos2d::CCShakyTiles3D::create", "pseudocode": "// \n// cocos2d::CCShakyTiles3D::create from 0x18003a7e0 to 0x18003a8e1 (257 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b0e4c\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::CCShakyTiles3D *__fastcall cocos2d::CCShakyTiles3D::create(\n        float a1,\n        struct cocos2d::CCSize *a2,\n        unsigned int a3,\n        char a4)\n{\n  cocos2d::CCGridAction *v7; // rax\n  cocos2d::CCGridAction *v8; // rbx\n  cocos2d::CCObject *(__stdcall *copyWithZone)(cocos2d::CCGridAction *__hidden, cocos2d::CCZone *); // rdx\n\n  v7 = (cocos2d::CCGridAction *)operator new(0x70u);\n  v8 = v7;\n  if ( v7 )\n  {\n    *(_OWORD *)&v7->__vftable = 0;\n    *(_OWORD *)&v7->cocos2d::CCActionInterval::cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;\n    *(_OWORD *)&v7->m_uIndexInArray = 0;\n    *(_OWORD *)&v7->m_uOrderOfArrival = 0;\n    *(_OWORD *)&v7->m_pTarget = 0;\n    *(_OWORD *)&v7->m_fDuration = 0;\n    *(_OWORD *)&v7[1].__vftable = 0;\n    cocos2d::CCAction::CCAction(v7);\n    v8->m_fDuration = 0.0;\n    v8->__vftable = (cocos2d::CCGridAction_vtbl *)&cocos2d::CCGridAction::`vftable';\n    cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v8[1]);\n    v8->__vftable = (cocos2d::CCGridAction_vtbl *)&cocos2d::CCShakyTiles3D::`vftable';\n  }\n  else\n  {\n    v8 = nullptr;\n  }\n  if ( !v8 )\n    return (struct cocos2d::CCShakyTiles3D *)v8;\n  copyWithZone = v8->__vftable[1].copyWithZone;\n  if ( (char *)copyWithZone == (char *)cocos2d::CCShakyTiles3D::initWithDuration )\n  {\n    if ( cocos2d::CCGridAction::initWithDuration(v8, a1, a2) )\n    {\n      v8[1].m_uID = a3;\n      LOBYTE(v8[1].m_nLuaID) = a4;\nLABEL_9:\n      cocos2d::CCObject::autorelease(v8);\n      return (struct cocos2d::CCShakyTiles3D *)v8;\n    }\n  }\n  else if ( ((unsigned __int8 (__fastcall *)(cocos2d::CCGridAction *, cocos2d::CCObject *(__stdcall *)(cocos2d::CCGridAction *__hidden, cocos2d::CCZone *), struct cocos2d::CCSize *, _QWORD, char))copyWithZone)(\n              v8,\n              copyWithZone,\n              a2,\n              a3,\n              a4) )\n  {\n    goto LABEL_9;\n  }\n  cocos2d::CCObject::release(v8);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCShakyTiles3D::create from 0x18003a7e0 to 0x18003a8e1 (257 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b0e4c\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, 0x18003a7e0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18003a7e5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18003a7ea\npush    rdi                                                            ; +0xf, 0x18003a7ef\nsub     rsp, 50h                                                       ; +0x10, 0x18003a7f0\nmovaps  [rsp+58h+var_18], xmm6                                         ; +0x14, 0x18003a7f4\nmovzx   edi, r9b                                                       ; +0x19, 0x18003a7f9\nmov     esi, r8d                                                       ; +0x1d, 0x18003a7fd\nmov     rbp, rdx                                                       ; +0x20, 0x18003a800\nmovaps  xmm6, xmm0                                                     ; +0x23, 0x18003a803\nmov     ecx, 70h ; 'p'; Size                                           ; +0x26, 0x18003a806\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x2b, 0x18003a80b\nmov     rbx, rax                                                       ; +0x30, 0x18003a810\nmov     [rsp+58h+var_28], rax                                          ; +0x33, 0x18003a813\ntest    rax, rax                                                       ; +0x38, 0x18003a818\njz      short loc_18003A86A                                            ; +0x3b, 0x18003a81b\nxorps   xmm1, xmm1                                                     ; +0x3d, 0x18003a81d\nmovups  xmmword ptr [rax], xmm1                                        ; +0x40, 0x18003a820\nmovups  xmmword ptr [rax+10h], xmm1                                    ; +0x43, 0x18003a823\nmovups  xmmword ptr [rax+20h], xmm1                                    ; +0x47, 0x18003a827\nmovups  xmmword ptr [rax+30h], xmm1                                    ; +0x4b, 0x18003a82b\nmovups  xmmword ptr [rax+40h], xmm1                                    ; +0x4f, 0x18003a82f\nmovups  xmmword ptr [rax+50h], xmm1                                    ; +0x53, 0x18003a833\nmovups  xmmword ptr [rax+60h], xmm1                                    ; +0x57, 0x18003a837\nmov     rcx, rax; this                                                 ; +0x5b, 0x18003a83b\ncall    ??0CCAction@cocos2d@@QEAA@XZ; cocos2d::CCAction::CCAction(void) ; +0x5e, 0x18003a83e\nmov     dword ptr [rbx+50h], 0                                         ; +0x63, 0x18003a843\nlea     rax, ??_7CCGridAction@cocos2d@@6B@; const cocos2d::CCGridAction::`vftable' ; +0x6a, 0x18003a84a\nmov     [rbx], rax                                                     ; +0x71, 0x18003a851\nlea     rcx, [rbx+60h]; this                                           ; +0x74, 0x18003a854\ncall    ??0CCSize@cocos2d@@QEAA@XZ; cocos2d::CCSize::CCSize(void)      ; +0x78, 0x18003a858\nnop                                                                    ; +0x7d, 0x18003a85d\nlea     rax, ??_7CCShakyTiles3D@cocos2d@@6B@; const cocos2d::CCShakyTiles3D::`vftable' ; +0x7e, 0x18003a85e\nmov     [rbx], rax                                                     ; +0x85, 0x18003a865\njmp     short loc_18003A86C                                            ; +0x88, 0x18003a868\nxor     ebx, ebx                                                       ; +0x8a, 0x18003a86a\ntest    rbx, rbx                                                       ; +0x8c, 0x18003a86c\njz      short loc_18003A8B8                                            ; +0x8f, 0x18003a86f\nmov     rax, [rbx]                                                     ; +0x91, 0x18003a871\nmov     rdx, [rax+80h]                                                 ; +0x94, 0x18003a874\nlea     rax, ?initWithDuration@CCShakyTiles3D@cocos2d@@UEAA_NMAEBVCCSize@2@H_N@Z; cocos2d::CCShakyTiles3D::initWithDuration(float,cocos2d::CCSize const &,int,bool) ; +0x9b, 0x18003a87b\nmov     r8, rbp; struct cocos2d::CCSize *                              ; +0xa2, 0x18003a882\nmovaps  xmm1, xmm6; float                                              ; +0xa5, 0x18003a885\nmov     rcx, rbx; this                                                 ; +0xa8, 0x18003a888\ncmp     rdx, rax                                                       ; +0xab, 0x18003a88b\njnz     short loc_18003A8A2                                            ; +0xae, 0x18003a88e\ncall    ?initWithDuration@CCGridAction@cocos2d@@UEAA_NMAEBVCCSize@2@@Z; cocos2d::CCGridAction::initWithDuration(float,cocos2d::CCSize const &) ; +0xb0, 0x18003a890\ntest    al, al                                                         ; +0xb5, 0x18003a895\njz      short loc_18003A8D5                                            ; +0xb7, 0x18003a897\nmov     [rbx+68h], esi                                                 ; +0xb9, 0x18003a899\nmov     [rbx+6Ch], dil                                                 ; +0xbc, 0x18003a89c\njmp     short loc_18003A8B0                                            ; +0xc0, 0x18003a8a0\nmov     [rsp+58h+var_38], dil                                          ; +0xc2, 0x18003a8a2\nmov     r9d, esi                                                       ; +0xc7, 0x18003a8a7\ncall    rdx                                                            ; +0xca, 0x18003a8aa\ntest    al, al                                                         ; +0xcc, 0x18003a8ac\njz      short loc_18003A8D5                                            ; +0xce, 0x18003a8ae\nmov     rcx, rbx; this                                                 ; +0xd0, 0x18003a8b0\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0xd3, 0x18003a8b3\nmov     rax, rbx                                                       ; +0xd8, 0x18003a8b8\nmov     rbx, [rsp+58h+arg_0]                                           ; +0xdb, 0x18003a8bb\nmov     rbp, [rsp+58h+arg_8]                                           ; +0xe0, 0x18003a8c0\nmov     rsi, [rsp+58h+arg_10]                                          ; +0xe5, 0x18003a8c5\nmovaps  xmm6, [rsp+58h+var_18]                                         ; +0xea, 0x18003a8ca\nadd     rsp, 50h                                                       ; +0xef, 0x18003a8cf\npop     rdi                                                            ; +0xf3, 0x18003a8d3\nretn                                                                   ; +0xf4, 0x18003a8d4\nmov     rcx, rbx; this                                                 ; +0xf5, 0x18003a8d5\ncall    ?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0xf8, 0x18003a8d8\nxor     eax, eax                                                       ; +0xfd, 0x18003a8dd\njmp     short loc_18003A8BB                                            ; +0xff, 0x18003a8df", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801b0e4c"], "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"}