{"type": "func", "start": 6442458464, "end": 6442458552, "name": "cocos2d::CCAtlasNode::initWithTileFile", "pseudocode": "// \n// cocos2d::CCAtlasNode::initWithTileFile from 0x180001d60 to 0x180001db8 (88 bytes)\n// \n// 3 xrefs:\n// > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x1800ab290\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801ad0f0\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\nchar __fastcall cocos2d::CCAtlasNode::initWithTileFile(\n        cocos2d::CCAtlasNode *this,\n        const char *a2,\n        unsigned int a3,\n        unsigned int a4,\n        unsigned int a5)\n{\n  cocos2d::CCTextureCache *v9; // rax\n  struct cocos2d::CCTexture2D *v10; // rax\n\n  v9 = cocos2d::CCTextureCache::sharedTextureCache();\n  v10 = cocos2d::CCTextureCache::addImage(v9, a2, 0);\n  return cocos2d::CCAtlasNode::initWithTexture(this, v10, a3, a4, a5);\n}", "assembly": "; \n; cocos2d::CCAtlasNode::initWithTileFile from 0x180001d60 to 0x180001db8 (88 bytes)\n; \n; 3 xrefs:\n; > cocos2d::CCTileMapAtlas::initWithTileFile @ 0x1800ab290\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801ad0f0\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, 0x180001d60\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x180001d65\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x180001d6a\npush    rdi                                                            ; +0xf, 0x180001d6f\nsub     rsp, 30h                                                       ; +0x10, 0x180001d70\nmov     edi, r9d                                                       ; +0x14, 0x180001d74\nmov     esi, r8d                                                       ; +0x17, 0x180001d77\nmov     rbx, rdx                                                       ; +0x1a, 0x180001d7a\nmov     rbp, rcx                                                       ; +0x1d, 0x180001d7d\ncall    ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x20, 0x180001d80\nmov     rcx, rax; this                                                 ; +0x25, 0x180001d85\nxor     r8d, r8d; bool                                                 ; +0x28, 0x180001d88\nmov     rdx, rbx; char *                                               ; +0x2b, 0x180001d8b\ncall    ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x2e, 0x180001d8e\nmov     r9d, edi; unsigned int                                         ; +0x33, 0x180001d93\nmov     r8d, esi; unsigned int                                         ; +0x36, 0x180001d96\nmov     rdx, rax; struct cocos2d::CCTexture2D *                        ; +0x39, 0x180001d99\nmov     rcx, rbp; this                                                 ; +0x3c, 0x180001d9c\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x3f, 0x180001d9f\nmov     rbp, [rsp+38h+arg_8]                                           ; +0x44, 0x180001da4\nmov     rsi, [rsp+38h+arg_10]                                          ; +0x49, 0x180001da9\nadd     rsp, 30h                                                       ; +0x4e, 0x180001dae\npop     rdi                                                            ; +0x52, 0x180001db2\njmp     ?initWithTexture@CCAtlasNode@cocos2d@@QEAA_NPEAVCCTexture2D@2@III@Z; cocos2d::CCAtlasNode::initWithTexture(cocos2d::CCTexture2D *,uint,uint,uint) ; +0x53, 0x180001db3", "xrefs": ["cocos2d::CCTileMapAtlas::initWithTileFile @ 0x1800ab290", "<???> @ 0x1801438a8", "<???> @ 0x1801ad0f0"], "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"}