{"type": "func", "start": 6442596624, "end": 6442596745, "name": "cocos2d::CCTiledGrid3D::create", "pseudocode": "// \n// cocos2d::CCTiledGrid3D::create from 0x180023910 to 0x180023989 (121 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTiledGrid3DAction::getGrid @ 0x18002b8a4\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b9118\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(const struct cocos2d::CCSize *a1)\n{\n  cocos2d::CCTiledGrid3D *v2; // rax\n  cocos2d::CCObject *v3; // rbx\n\n  v2 = (cocos2d::CCTiledGrid3D *)sub_1800E4AC0(0x98u);\n  if ( v2 )\n    v3 = cocos2d::CCTiledGrid3D::CCTiledGrid3D(v2);\n  else\n    v3 = nullptr;\n  if ( !v3 )\n    return v3;\n  if ( cocos2d::CCGridBase::initWithSize(v3, a1) )\n  {\n    cocos2d::CCObject::autorelease(v3);\n    return v3;\n  }\n  (*(void (__fastcall **)(cocos2d::CCObject *, __int64))(*(_QWORD *)v3 + 8LL))(v3, 1);\n  return nullptr;\n}", "assembly": "; \n; cocos2d::CCTiledGrid3D::create from 0x180023910 to 0x180023989 (121 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTiledGrid3DAction::getGrid @ 0x18002b8a4\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b9118\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, 0x180023910\npush    rdi                                                            ; +0x5, 0x180023915\nsub     rsp, 20h                                                       ; +0x6, 0x180023916\nmov     rdi, rcx                                                       ; +0xa, 0x18002391a\nmov     ecx, 98h; Size                                                 ; +0xd, 0x18002391d\ncall    sub_1800E4AC0                                                  ; +0x12, 0x180023922\nmov     [rsp+28h+arg_8], rax                                           ; +0x17, 0x180023927\ntest    rax, rax                                                       ; +0x1c, 0x18002392c\njz      short loc_18002393E                                            ; +0x1f, 0x18002392f\nmov     rcx, rax; this                                                 ; +0x21, 0x180023931\ncall    ??0CCTiledGrid3D@cocos2d@@QEAA@XZ; cocos2d::CCTiledGrid3D::CCTiledGrid3D(void) ; +0x24, 0x180023934\nmov     rbx, rax                                                       ; +0x29, 0x180023939\njmp     short loc_180023940                                            ; +0x2c, 0x18002393c\nxor     ebx, ebx                                                       ; +0x2e, 0x18002393e\ntest    rbx, rbx                                                       ; +0x30, 0x180023940\njz      short loc_18002395C                                            ; +0x33, 0x180023943\nmov     rdx, rdi; struct cocos2d::CCSize *                             ; +0x35, 0x180023945\nmov     rcx, rbx; this                                                 ; +0x38, 0x180023948\ncall    ?initWithSize@CCGridBase@cocos2d@@QEAA_NAEBVCCSize@2@@Z; cocos2d::CCGridBase::initWithSize(cocos2d::CCSize const &) ; +0x3b, 0x18002394b\ntest    al, al                                                         ; +0x40, 0x180023950\njz      short loc_18002396A                                            ; +0x42, 0x180023952\nmov     rcx, rbx; this                                                 ; +0x44, 0x180023954\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x47, 0x180023957\nmov     rax, rbx                                                       ; +0x4c, 0x18002395c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4f, 0x18002395f\nadd     rsp, 20h                                                       ; +0x54, 0x180023964\npop     rdi                                                            ; +0x58, 0x180023968\nretn                                                                   ; +0x59, 0x180023969\nmov     rcx, [rbx]                                                     ; +0x5a, 0x18002396a\nmov     r8, [rcx+8]                                                    ; +0x5d, 0x18002396d\nmov     edx, 1                                                         ; +0x61, 0x180023971\nmov     rcx, rbx                                                       ; +0x66, 0x180023976\ncall    r8                                                             ; +0x69, 0x180023979\nxor     eax, eax                                                       ; +0x6c, 0x18002397c\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x6e, 0x18002397e\nadd     rsp, 20h                                                       ; +0x73, 0x180023983\npop     rdi                                                            ; +0x77, 0x180023987\nretn                                                                   ; +0x78, 0x180023988", "xrefs": ["cocos2d::CCTiledGrid3DAction::getGrid @ 0x18002b8a4", "<???> @ 0x18014cf68", "<???> @ 0x1801b9118"], "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"}