{"type": "func", "start": 6443147440, "end": 6443147533, "name": "cocos2d::CCTextureAtlas::initWithFile", "pseudocode": "// \n// cocos2d::CCTextureAtlas::initWithFile from 0x1800aa0b0 to 0x1800aa10d (93 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c1fc8\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:17 +0000\n// \n\nbool __fastcall cocos2d::CCTextureAtlas::initWithFile(cocos2d::CCTextureAtlas *this, const char *a2, unsigned int a3)\n{\n  cocos2d::CCTextureCache *v6; // rax\n  struct cocos2d::CCTexture2D *v7; // rax\n\n  v6 = cocos2d::CCTextureCache::sharedTextureCache();\n  v7 = cocos2d::CCTextureCache::addImage(v6, a2, 0);\n  if ( v7 )\n    LOBYTE(v7) = cocos2d::CCTextureAtlas::initWithTexture(this, v7, a3);\n  return (char)v7;\n}", "assembly": "; \n; cocos2d::CCTextureAtlas::initWithFile from 0x1800aa0b0 to 0x1800aa10d (93 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c1fc8\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:17 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800aa0b0\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800aa0b5\npush    rdi                                                            ; +0xa, 0x1800aa0ba\nsub     rsp, 20h                                                       ; +0xb, 0x1800aa0bb\nmov     edi, r8d                                                       ; +0xf, 0x1800aa0bf\nmov     rbx, rdx                                                       ; +0x12, 0x1800aa0c2\nmov     rsi, rcx                                                       ; +0x15, 0x1800aa0c5\ncall    ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18, 0x1800aa0c8\nmov     rcx, rax; this                                                 ; +0x1d, 0x1800aa0cd\nxor     r8d, r8d; bool                                                 ; +0x20, 0x1800aa0d0\nmov     rdx, rbx; char *                                               ; +0x23, 0x1800aa0d3\ncall    ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x26, 0x1800aa0d6\ntest    rax, rax                                                       ; +0x2b, 0x1800aa0db\njz      short loc_1800AA0FD                                            ; +0x2e, 0x1800aa0de\nmov     r8d, edi; unsigned int                                         ; +0x30, 0x1800aa0e0\nmov     rdx, rax; struct cocos2d::CCTexture2D *                        ; +0x33, 0x1800aa0e3\nmov     rcx, rsi; this                                                 ; +0x36, 0x1800aa0e6\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x39, 0x1800aa0e9\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x3e, 0x1800aa0ee\nadd     rsp, 20h                                                       ; +0x43, 0x1800aa0f3\npop     rdi                                                            ; +0x47, 0x1800aa0f7\njmp     ?initWithTexture@CCTextureAtlas@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCTextureAtlas::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x48, 0x1800aa0f8\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x4d, 0x1800aa0fd\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x52, 0x1800aa102\nadd     rsp, 20h                                                       ; +0x57, 0x1800aa107\npop     rdi                                                            ; +0x5b, 0x1800aa10b\nretn                                                                   ; +0x5c, 0x1800aa10c", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c1fc8"], "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"}