{"type": "func", "start": 6443155664, "end": 6443155785, "name": "cocos2d::CCTMXLayer::create", "pseudocode": "// \n// cocos2d::CCTMXLayer::create from 0x1800ac0d0 to 0x1800ac149 (121 bytes)\n// \n// 4 xrefs:\n// > cocos2d::CCTMXTiledMap::buildWithMapInfo @ 0x1800adf8d\n// > cocos2d::CCTMXTiledMap::parseLayer @ 0x1800ae48e\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801b80dc\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::CCTMXLayer *__fastcall cocos2d::CCTMXLayer::create(\n        struct cocos2d::CCTMXTilesetInfo *a1,\n        struct cocos2d::CCTMXLayerInfo *a2,\n        struct cocos2d::CCTMXMapInfo *a3)\n{\n  cocos2d::CCTMXLayer *v6; // rax\n  cocos2d::CCTMXLayer *v7; // rbx\n\n  v6 = (cocos2d::CCTMXLayer *)operator new(0x1E8u);\n  if ( v6 )\n    v7 = cocos2d::CCTMXLayer::CCTMXLayer(v6);\n  else\n    v7 = nullptr;\n  if ( !cocos2d::CCTMXLayer::initWithTilesetInfo(v7, a1, a2, a3) )\n    return nullptr;\n  cocos2d::CCObject::autorelease(v7);\n  return v7;\n}", "assembly": "; \n; cocos2d::CCTMXLayer::create from 0x1800ac0d0 to 0x1800ac149 (121 bytes)\n; \n; 4 xrefs:\n; > cocos2d::CCTMXTiledMap::buildWithMapInfo @ 0x1800adf8d\n; > cocos2d::CCTMXTiledMap::parseLayer @ 0x1800ae48e\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801b80dc\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, 0x1800ac0d0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x1800ac0d5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x1800ac0da\npush    rdi                                                            ; +0xf, 0x1800ac0df\nsub     rsp, 20h                                                       ; +0x10, 0x1800ac0e0\nmov     rdi, r8                                                        ; +0x14, 0x1800ac0e4\nmov     rsi, rdx                                                       ; +0x17, 0x1800ac0e7\nmov     rbp, rcx                                                       ; +0x1a, 0x1800ac0ea\nmov     ecx, 1E8h; Size                                                ; +0x1d, 0x1800ac0ed\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0x22, 0x1800ac0f2\nmov     [rsp+28h+arg_18], rax                                          ; +0x27, 0x1800ac0f7\ntest    rax, rax                                                       ; +0x2c, 0x1800ac0fc\njz      short loc_1800AC10E                                            ; +0x2f, 0x1800ac0ff\nmov     rcx, rax; this                                                 ; +0x31, 0x1800ac101\ncall    ??0CCTMXLayer@cocos2d@@QEAA@XZ; cocos2d::CCTMXLayer::CCTMXLayer(void) ; +0x34, 0x1800ac104\nmov     rbx, rax                                                       ; +0x39, 0x1800ac109\njmp     short loc_1800AC110                                            ; +0x3c, 0x1800ac10c\nxor     ebx, ebx                                                       ; +0x3e, 0x1800ac10e\nmov     r9, rdi; struct cocos2d::CCTMXMapInfo *                        ; +0x40, 0x1800ac110\nmov     r8, rsi; struct cocos2d::CCTMXLayerInfo *                      ; +0x43, 0x1800ac113\nmov     rdx, rbp; struct cocos2d::CCTMXTilesetInfo *                   ; +0x46, 0x1800ac116\nmov     rcx, rbx; this                                                 ; +0x49, 0x1800ac119\ncall    ?initWithTilesetInfo@CCTMXLayer@cocos2d@@QEAA_NPEAVCCTMXTilesetInfo@2@PEAVCCTMXLayerInfo@2@PEAVCCTMXMapInfo@2@@Z; cocos2d::CCTMXLayer::initWithTilesetInfo(cocos2d::CCTMXTilesetInfo *,cocos2d::CCTMXLayerInfo *,cocos2d::CCTMXMapInfo *) ; +0x4c, 0x1800ac11c\ntest    al, al                                                         ; +0x51, 0x1800ac121\njz      short loc_1800AC132                                            ; +0x53, 0x1800ac123\nmov     rcx, rbx; this                                                 ; +0x55, 0x1800ac125\ncall    ?autorelease@CCObject@cocos2d@@QEAAPEAV12@XZ; cocos2d::CCObject::autorelease(void) ; +0x58, 0x1800ac128\nmov     rax, rbx                                                       ; +0x5d, 0x1800ac12d\njmp     short loc_1800AC134                                            ; +0x60, 0x1800ac130\nxor     eax, eax                                                       ; +0x62, 0x1800ac132\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x64, 0x1800ac134\nmov     rbp, [rsp+28h+arg_8]                                           ; +0x69, 0x1800ac139\nmov     rsi, [rsp+28h+arg_10]                                          ; +0x6e, 0x1800ac13e\nadd     rsp, 20h                                                       ; +0x73, 0x1800ac143\npop     rdi                                                            ; +0x77, 0x1800ac147\nretn                                                                   ; +0x78, 0x1800ac148", "xrefs": ["cocos2d::CCTMXTiledMap::buildWithMapInfo @ 0x1800adf8d", "cocos2d::CCTMXTiledMap::parseLayer @ 0x1800ae48e", "<???> @ 0x1801438a8", "<???> @ 0x1801b80dc"], "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"}