{"type": "func", "start": 6443179280, "end": 6443179344, "name": "cocos2d::CCTMXTiledMap::parseLayer", "pseudocode": "// \n// cocos2d::CCTMXTiledMap::parseLayer from 0x1800b1d10 to 0x1800b1d50 (64 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c2670\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:22:19 +0000\n// \n\nstruct cocos2d::CCTMXLayer *__fastcall cocos2d::CCTMXTiledMap::parseLayer(\n        cocos2d::CCTMXTiledMap *this,\n        struct cocos2d::CCTMXLayerInfo *a2,\n        struct cocos2d::CCTMXMapInfo *a3)\n{\n  struct cocos2d::CCTMXTilesetInfo *v5; // rax\n  cocos2d::CCTMXLayer *v6; // rax\n  cocos2d::CCTMXLayer *v7; // rbx\n\n  v5 = cocos2d::CCTMXTiledMap::tilesetForLayer(this, a2, a3);\n  v6 = cocos2d::CCTMXLayer::create(v5, a2, a3);\n  *((_BYTE *)a2 + 114) = 0;\n  v7 = v6;\n  cocos2d::CCTMXLayer::setupTiles(v6);\n  return v7;\n}", "assembly": "; \n; cocos2d::CCTMXTiledMap::parseLayer from 0x1800b1d10 to 0x1800b1d50 (64 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c2670\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:22:19 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800b1d10\npush    rdi                                                            ; +0x5, 0x1800b1d15\nsub     rsp, 20h                                                       ; +0x6, 0x1800b1d16\nmov     rbx, r8                                                        ; +0xa, 0x1800b1d1a\nmov     rdi, rdx                                                       ; +0xd, 0x1800b1d1d\ncall    ?tilesetForLayer@CCTMXTiledMap@cocos2d@@AEAAPEAVCCTMXTilesetInfo@2@PEAVCCTMXLayerInfo@2@PEAVCCTMXMapInfo@2@@Z; cocos2d::CCTMXTiledMap::tilesetForLayer(cocos2d::CCTMXLayerInfo *,cocos2d::CCTMXMapInfo *) ; +0x10, 0x1800b1d20\nmov     r8, rbx; struct cocos2d::CCTMXMapInfo *                        ; +0x15, 0x1800b1d25\nmov     rdx, rdi; struct cocos2d::CCTMXLayerInfo *                     ; +0x18, 0x1800b1d28\nmov     rcx, rax; struct cocos2d::CCTMXTilesetInfo *                   ; +0x1b, 0x1800b1d2b\ncall    ?create@CCTMXLayer@cocos2d@@SAPEAV12@PEAVCCTMXTilesetInfo@2@PEAVCCTMXLayerInfo@2@PEAVCCTMXMapInfo@2@@Z; cocos2d::CCTMXLayer::create(cocos2d::CCTMXTilesetInfo *,cocos2d::CCTMXLayerInfo *,cocos2d::CCTMXMapInfo *) ; +0x1e, 0x1800b1d2e\nmov     rcx, rax; this                                                 ; +0x23, 0x1800b1d33\nmov     byte ptr [rdi+72h], 0                                          ; +0x26, 0x1800b1d36\nmov     rbx, rax                                                       ; +0x2a, 0x1800b1d3a\ncall    ?setupTiles@CCTMXLayer@cocos2d@@QEAAXXZ; cocos2d::CCTMXLayer::setupTiles(void) ; +0x2d, 0x1800b1d3d\nmov     rax, rbx                                                       ; +0x32, 0x1800b1d42\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x35, 0x1800b1d45\nadd     rsp, 20h                                                       ; +0x3a, 0x1800b1d4a\npop     rdi                                                            ; +0x3e, 0x1800b1d4e\nretn                                                                   ; +0x3f, 0x1800b1d4f", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c2670"], "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"}