{"type": "func", "start": 6443046960, "end": 6443047032, "name": "cocos2d::CCSpriteBatchNode::initWithFile", "pseudocode": "// \n// cocos2d::CCSpriteBatchNode::initWithFile from 0x180091830 to 0x180091878 (72 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c02c4\n// > <???> @ 0x1801c02d0\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:08 +0000\n// \n\nbool __fastcall cocos2d::CCSpriteBatchNode::initWithFile(\n        cocos2d::CCSpriteBatchNode *this,\n        const char *a2,\n        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  return cocos2d::CCSpriteBatchNode::initWithTexture(this, v7, a3);\n}", "assembly": "; \n; cocos2d::CCSpriteBatchNode::initWithFile from 0x180091830 to 0x180091878 (72 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c02c4\n; > <???> @ 0x1801c02d0\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:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180091830\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x180091835\npush    rdi                                                            ; +0xa, 0x18009183a\nsub     rsp, 20h                                                       ; +0xb, 0x18009183b\nmov     edi, r8d                                                       ; +0xf, 0x18009183f\nmov     rbx, rdx                                                       ; +0x12, 0x180091842\nmov     rsi, rcx                                                       ; +0x15, 0x180091845\ncall    ?sharedTextureCache@CCTextureCache@cocos2d@@SAPEAV12@XZ; cocos2d::CCTextureCache::sharedTextureCache(void) ; +0x18, 0x180091848\nmov     rcx, rax; this                                                 ; +0x1d, 0x18009184d\nxor     r8d, r8d; bool                                                 ; +0x20, 0x180091850\nmov     rdx, rbx; char *                                               ; +0x23, 0x180091853\ncall    ?addImage@CCTextureCache@cocos2d@@QEAAPEAVCCTexture2D@2@PEBD_N@Z; cocos2d::CCTextureCache::addImage(char const *,bool) ; +0x26, 0x180091856\nmov     r8d, edi; unsigned int                                         ; +0x2b, 0x18009185b\nmov     rdx, rax; struct cocos2d::CCTexture2D *                        ; +0x2e, 0x18009185e\nmov     rcx, rsi; this                                                 ; +0x31, 0x180091861\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x34, 0x180091864\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x39, 0x180091869\nadd     rsp, 20h                                                       ; +0x3e, 0x18009186e\npop     rdi                                                            ; +0x42, 0x180091872\njmp     ?initWithTexture@CCSpriteBatchNode@cocos2d@@QEAA_NPEAVCCTexture2D@2@I@Z; cocos2d::CCSpriteBatchNode::initWithTexture(cocos2d::CCTexture2D *,uint) ; +0x43, 0x180091873", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c02c4", "<???> @ 0x1801c02d0"], "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"}