{"type": "func", "start": 6442596752, "end": 6442596898, "name": "cocos2d::CCTiledGrid3D::create", "pseudocode": "// \n// cocos2d::CCTiledGrid3D::create from 0x180023990 to 0x180023a22 (146 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9124\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:21:29 +0000\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::CCObject *v7; // rbx\n\n  v6 = (cocos2d::CCTiledGrid3D *)sub_1800E4AC0(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::CCObject *, __int64))(*(_QWORD *)v7 + 8LL))(v7, 1);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCTiledGrid3D::create from 0x180023990 to 0x180023a22 (146 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9124\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:21:29 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180023990\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180023995\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18002399a\npush    rdi                                                            ; +0xf, 0x18002399f\nsub     rsp, 20h                                                       ; +0x10, 0x1800239a0\nmovzx   edi, r8b                                                       ; +0x14, 0x1800239a4\nmov     rsi, rdx                                                       ; +0x18, 0x1800239a8\nmov     rbp, rcx                                                       ; +0x1b, 0x1800239ab\nmov     ecx, 98h; Size                                                 ; +0x1e, 0x1800239ae\ncall    sub_1800E4AC0                                                  ; +0x23, 0x1800239b3\nmov     [rsp+28h+arg_18], rax                                          ; +0x28, 0x1800239b8\ntest    rax, rax                                                       ; +0x2d, 0x1800239bd\njz      short loc_1800239CF                                            ; +0x30, 0x1800239c0\nmov     rcx, rax; this                                                 ; +0x32, 0x1800239c2\ncall    ??0CCTiledGrid3D@cocos2d@@QEAA@XZ; cocos2d::CCTiledGrid3D::CCTiledGrid3D(void) ; +0x35, 0x1800239c5\nmov     rbx, rax                                                       ; +0x3a, 0x1800239ca\njmp     short loc_1800239D1                                            ; +0x3d, 0x1800239cd\nxor     ebx, ebx                                                       ; +0x3f, 0x1800239cf\ntest    rbx, rbx                                                       ; +0x41, 0x1800239d1\njz      short loc_1800239F4                                            ; +0x44, 0x1800239d4\nmovzx   r9d, dil; bool                                                 ; +0x46, 0x1800239d6\nmov     r8, rsi; struct cocos2d::CCTexture2D *                         ; +0x4a, 0x1800239da\nmov     rdx, rbp; struct cocos2d::CCSize *                             ; +0x4d, 0x1800239dd\nmov     rcx, rbx; this                                                 ; +0x50, 0x1800239e0\ncall    ?initWithSize@CCGridBase@cocos2d@@QEAA_NAEBVCCSize@2@PEAVCCTexture2D@2@_N@Z; cocos2d::CCGridBase::initWithSize(cocos2d::CCSize const &,cocos2d::CCTexture2D *,bool) ; +0x53, 0x1800239e3\ntest    al, al                                                         ; +0x58, 0x1800239e8\njz      short loc_180023A0C                                            ; +0x5a, 0x1800239ea\nmov     rcx, rbx; this                                                 ; +0x5c, 0x1800239ec\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x5f, 0x1800239ef\nmov     rax, rbx                                                       ; +0x64, 0x1800239f4\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x67, 0x1800239f7\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x6c, 0x1800239fc\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x71, 0x180023a01\nadd     rsp, 20h                                                       ; +0x76, 0x180023a06\npop     rdi                                                            ; +0x7a, 0x180023a0a\nretn                                                                   ; +0x7b, 0x180023a0b\nmov     rcx, [rbx]                                                     ; +0x7c, 0x180023a0c\nmov     r8, [rcx+8]                                                    ; +0x7f, 0x180023a0f\nmov     edx, 1                                                         ; +0x83, 0x180023a13\nmov     rcx, rbx                                                       ; +0x88, 0x180023a18\ncall    r8                                                             ; +0x8b, 0x180023a1b\nxor     eax, eax                                                       ; +0x8e, 0x180023a1e\njmp     short loc_1800239F7                                            ; +0x90, 0x180023a20", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801b9124"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}