{"type": "func", "start": 6443058944, "end": 6443059044, "name": "cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile", "pseudocode": "// \n// cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile from 0x180094700 to 0x180094764 (100 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c05d0\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:09 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile(\n        cocos2d::CCSpriteFrameCache *this,\n        char *a2,\n        const char *a3)\n{\n  cocos2d::CCTextureCache *v6; // rax\n  struct cocos2d::CCTexture2D *v7; // rbx\n  CCContentManager *v8; // rax\n  struct cocos2d::CCDictionary *v9; // rax\n\n  v6 = cocos2d::CCTextureCache::sharedTextureCache();\n  v7 = cocos2d::CCTextureCache::addImage(v6, a3, 0);\n  if ( v7 )\n  {\n    v8 = CCContentManager::sharedManager();\n    v9 = CCContentManager::addDictDS(v8, a2);\n    cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary(this, v9, v7);\n  }\n}", "assembly": "; \n; cocos2d::CCSpriteFrameCache::addSpriteFramesWithFile from 0x180094700 to 0x180094764 (100 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c05d0\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:09 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180094700\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180094705\npush    rdi                                                            ; +0xa, 0x18009470a\nsub     rsp, 20h                                                       ; +0xb, 0x18009470b\nmov     rbx, r8                                                        ; +0xf, 0x18009470f\nmov     rdi, rdx                                                       ; +0x12, 0x180094712\nmov     rsi, rcx                                                       ; +0x15, 0x180094715\ncall    ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18, 0x180094718\nmov     rcx, rax; this                                                 ; +0x1d, 0x18009471d\nxor     r8d, r8d; bool                                                 ; +0x20, 0x180094720\nmov     rdx, rbx; char *                                               ; +0x23, 0x180094723\ncall    ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x26, 0x180094726\nmov     rbx, rax                                                       ; +0x2b, 0x18009472b\ntest    rax, rax                                                       ; +0x2e, 0x18009472e\njz      short loc_180094754                                            ; +0x31, 0x180094731\ncall    ?sharedManager@CCContentManager@@SAPEAV1@XZ; CCContentManager::sharedManager(void) ; +0x33, 0x180094733\nmov     rcx, rax; this                                                 ; +0x38, 0x180094738\nxor     r8d, r8d                                                       ; +0x3b, 0x18009473b\nmov     rdx, rdi; char *                                               ; +0x3e, 0x18009473e\ncall    ?addDictDS@CCContentManager@@QEAAPEAVCCDictionary@cocos2d@@PEBD@Z; CCContentManager::addDictDS(char const *) ; +0x41, 0x180094741\nmov     r8, rbx; struct cocos2d::CCTexture2D *                         ; +0x46, 0x180094746\nmov     rdx, rax; struct cocos2d::CCDictionary *                       ; +0x49, 0x180094749\nmov     rcx, rsi; this                                                 ; +0x4c, 0x18009474c\ncall    ?addSpriteFramesWithDictionary@CCSpriteFrameCache@cocos2d@@AEAAXPEAVCCDictionary@2@PEAVCCTexture2D@2@@Z; cocos2d::CCSpriteFrameCache::addSpriteFramesWithDictionary(cocos2d::CCDictionary *,cocos2d::CCTexture2D *) ; +0x4f, 0x18009474f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x54, 0x180094754\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x59, 0x180094759\nadd     rsp, 20h                                                       ; +0x5e, 0x18009475e\npop     rdi                                                            ; +0x62, 0x180094762\nretn                                                                   ; +0x63, 0x180094763", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c05d0"], "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"}