{"type": "func", "start": 6442595408, "end": 6442595548, "name": "cocos2d::CCTiledGrid3D::create", "pseudocode": "// \n// cocos2d::CCTiledGrid3D::create from 0x180023450 to 0x1800234dc (140 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801af040\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\nstruct cocos2d::CCTiledGrid3D *__fastcall cocos2d::CCTiledGrid3D::create(\n        const struct cocos2d::CCSize *a1,\n        struct cocos2d::CCTexture2D *a2,\n        bool a3)\n{\n  cocos2d::CCTiledGrid3D *v6; // rax\n  cocos2d::CCTiledGrid3D *v7; // rbx\n\n  v6 = (cocos2d::CCTiledGrid3D *)operator new(0x98u);\n  if ( v6 )\n    v7 = cocos2d::CCTiledGrid3D::CCTiledGrid3D(v6);\n  else\n    v7 = nullptr;\n  if ( !v7 )\n    return v7;\n  if ( cocos2d::CCGridBase::initWithSize(v7, a1, a2, a3) )\n  {\n    cocos2d::CCObject::autorelease(v7);\n    return v7;\n  }\n  ((void (__fastcall *)(cocos2d::CCTiledGrid3D *, __int64))v7->~CCTiledGrid3D)(v7, 1);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCTiledGrid3D::create from 0x180023450 to 0x1800234dc (140 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801af040\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, 0x180023450\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180023455\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18002345a\npush    rdi                                                            ; +0xf, 0x18002345f\nsub     rsp, 20h                                                       ; +0x10, 0x180023460\nmovzx   edi, r8b                                                       ; +0x14, 0x180023464\nmov     rsi, rdx                                                       ; +0x18, 0x180023468\nmov     rbp, rcx                                                       ; +0x1b, 0x18002346b\nmov     ecx, 98h; Size                                                 ; +0x1e, 0x18002346e\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x23, 0x180023473\nmov     [rsp+28h+arg_18], rax                                          ; +0x28, 0x180023478\ntest    rax, rax                                                       ; +0x2d, 0x18002347d\njz      short loc_18002348F                                            ; +0x30, 0x180023480\nmov     rcx, rax; this                                                 ; +0x32, 0x180023482\ncall    ??0CCTiledGrid3D@cocos2d@@QEAA@XZ; cocos2d::CCTiledGrid3D::CCTiledGrid3D(void) ; +0x35, 0x180023485\nmov     rbx, rax                                                       ; +0x3a, 0x18002348a\njmp     short loc_180023491                                            ; +0x3d, 0x18002348d\nxor     ebx, ebx                                                       ; +0x3f, 0x18002348f\ntest    rbx, rbx                                                       ; +0x41, 0x180023491\njz      short loc_1800234B4                                            ; +0x44, 0x180023494\nmovzx   r9d, dil; bool                                                 ; +0x46, 0x180023496\nmov     r8, rsi; struct cocos2d::CCTexture2D *                         ; +0x4a, 0x18002349a\nmov     rdx, rbp; struct cocos2d::CCSize *                             ; +0x4d, 0x18002349d\nmov     rcx, rbx; this                                                 ; +0x50, 0x1800234a0\ncall    ?initWithSize@CCGridBase@cocos2d@@QEAA_NAEBVCCSize@2@PEAVCCTexture2D@2@_N@Z; cocos2d::CCGridBase::initWithSize(cocos2d::CCSize const &,cocos2d::CCTexture2D *,bool) ; +0x53, 0x1800234a3\nmov     rcx, rbx; this                                                 ; +0x58, 0x1800234a8\ntest    al, al                                                         ; +0x5b, 0x1800234ab\njz      short loc_1800234CC                                            ; +0x5d, 0x1800234ad\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5f, 0x1800234af\nmov     rax, rbx                                                       ; +0x64, 0x1800234b4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x67, 0x1800234b7\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6c, 0x1800234bc\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x71, 0x1800234c1\nadd     rsp, 20h                                                       ; +0x76, 0x1800234c6\npop     rdi                                                            ; +0x7a, 0x1800234ca\nretn                                                                   ; +0x7b, 0x1800234cb\nmov     r8, [rbx]                                                      ; +0x7c, 0x1800234cc\nmov     edx, 1                                                         ; +0x7f, 0x1800234cf\ncall    qword ptr [r8+8]                                               ; +0x84, 0x1800234d4\nxor     eax, eax                                                       ; +0x88, 0x1800234d8\njmp     short loc_1800234B7                                            ; +0x8a, 0x1800234da", "xrefs": ["<???> @ 0x1801438a8", "<???> @ 0x1801af040"], "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"}