{"type": "func", "start": 6442627008, "end": 6442627121, "name": "cocos2d::CCReuseGrid::create", "pseudocode": "// \n// cocos2d::CCReuseGrid::create from 0x18002afc0 to 0x18002b031 (113 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801afac0\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::CCReuseGrid *__fastcall cocos2d::CCReuseGrid::create(int a1)\n{\n  cocos2d::CCActionInstant *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCActionInstant *)operator new(0x60u);\n  v3 = v2;\n  if ( v2 )\n  {\n    *(_OWORD *)&v2->__vftable = 0;\n    *(_OWORD *)&v2->cocos2d::CCFiniteTimeAction::cocos2d::CCAction::cocos2d::CCObject::m_nTag = 0;\n    *(_OWORD *)&v2->m_uIndexInArray = 0;\n    *(_OWORD *)&v2->m_uOrderOfArrival = 0;\n    *(_OWORD *)&v2->m_pTarget = 0;\n    *(_OWORD *)&v2->m_fDuration = 0;\n    cocos2d::CCActionInstant::CCActionInstant(v2);\n    v3->__vftable = (cocos2d::CCObject_vtbl *)&cocos2d::CCReuseGrid::`vftable';\n  }\n  else\n  {\n    v3 = nullptr;\n  }\n  if ( v3 )\n  {\n    v3[1].m_uIndexInArray = a1;\n    cocos2d::CCObject::autorelease(v3);\n  }\n  return (struct cocos2d::CCReuseGrid *)v3;\n}", "assembly": "; \n; cocos2d::CCReuseGrid::create from 0x18002afc0 to 0x18002b031 (113 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801afac0\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, 0x18002afc0\npush    rdi                                                            ; +0x5, 0x18002afc5\nsub     rsp, 20h                                                       ; +0x6, 0x18002afc6\nmov     edi, ecx                                                       ; +0xa, 0x18002afca\nmov     ecx, 60h ; '`'; Size                                           ; +0xc, 0x18002afcc\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x11, 0x18002afd1\nmov     rbx, rax                                                       ; +0x16, 0x18002afd6\nmov     [rsp+28h+arg_8], rax                                           ; +0x19, 0x18002afd9\ntest    rax, rax                                                       ; +0x1e, 0x18002afde\njz      short loc_18002B011                                            ; +0x21, 0x18002afe1\nxorps   xmm0, xmm0                                                     ; +0x23, 0x18002afe3\nmovups  xmmword ptr [rax], xmm0                                        ; +0x26, 0x18002afe6\nmovups  xmmword ptr [rax+10h], xmm0                                    ; +0x29, 0x18002afe9\nmovups  xmmword ptr [rax+20h], xmm0                                    ; +0x2d, 0x18002afed\nmovups  xmmword ptr [rax+30h], xmm0                                    ; +0x31, 0x18002aff1\nmovups  xmmword ptr [rax+40h], xmm0                                    ; +0x35, 0x18002aff5\nmovups  xmmword ptr [rax+50h], xmm0                                    ; +0x39, 0x18002aff9\nmov     rcx, rax; this                                                 ; +0x3d, 0x18002affd\ncall    ??0CCActionInstant@cocos2d@@QEAA@XZ; cocos2d::CCActionInstant::CCActionInstant(void) ; +0x40, 0x18002b000\nlea     rax, ??_7CCReuseGrid@cocos2d@@6B@; const cocos2d::CCReuseGrid::`vftable' ; +0x45, 0x18002b005\nmov     [rbx], rax                                                     ; +0x4c, 0x18002b00c\njmp     short loc_18002B013                                            ; +0x4f, 0x18002b00f\nxor     ebx, ebx                                                       ; +0x51, 0x18002b011\ntest    rbx, rbx                                                       ; +0x53, 0x18002b013\njz      short loc_18002B023                                            ; +0x56, 0x18002b016\nmov     [rbx+58h], edi                                                 ; +0x58, 0x18002b018\nmov     rcx, rbx; this                                                 ; +0x5b, 0x18002b01b\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5e, 0x18002b01e\nmov     rax, rbx                                                       ; +0x63, 0x18002b023\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x66, 0x18002b026\nadd     rsp, 20h                                                       ; +0x6b, 0x18002b02b\npop     rdi                                                            ; +0x6f, 0x18002b02f\nretn                                                                   ; +0x70, 0x18002b030", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801afac0"], "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"}