{"type": "func", "start": 6442512064, "end": 6442512198, "name": "cocos2d::extension::CCScale9Sprite::initWithFile", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eec0 to 0x18000ef46 (134 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180029f98\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bdc8\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 12:15:39 +0000\n// \n\n__int64 __fastcall cocos2d::extension::CCScale9Sprite::initWithFile(\n        __int64 *a1,\n        const char *a2,\n        const struct cocos2d::CCRect *a3,\n        const struct cocos2d::CCRect *a4)\n{\n  struct cocos2d::CCSpriteBatchNode *v7; // rax\n  __int64 v8; // rdi\n  struct cocos2d::CCSpriteBatchNode *v9; // rsi\n  __int64 v10; // rax\n  __int64 v11; // rbx\n  __int64 v12; // rax\n  _BYTE v14[16]; // [rsp+20h] [rbp-28h] BYREF\n  _BYTE v15[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v7 = cocos2d::CCSpriteBatchNode::create(a2, 9u);\n  v8 = *a1;\n  v9 = v7;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v14, a4);\n  v11 = v10;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v15, a3);\n  return (*(__int64 (__fastcall **)(__int64 *, struct cocos2d::CCSpriteBatchNode *, __int64, __int64))(v8 + 984))(\n           a1,\n           v9,\n           v12,\n           v11);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eec0 to 0x18000ef46 (134 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180029f98\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bdc8\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 12:15:39 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18000eec0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18000eec5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18000eeca\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x18000eecf\npush    r14                                                            ; +0x14, 0x18000eed4\nsub     rsp, 40h                                                       ; +0x16, 0x18000eed6\nmov     rax, rdx                                                       ; +0x1a, 0x18000eeda\nmov     r14, rcx                                                       ; +0x1d, 0x18000eedd\nmov     rcx, rax                                                       ; +0x20, 0x18000eee0\nmov     edx, 9                                                         ; +0x23, 0x18000eee3\nmov     rbx, r9                                                        ; +0x28, 0x18000eee8\nmov     rbp, r8                                                        ; +0x2b, 0x18000eeeb\ncall    cs:?create@CCSpriteBatchNode@cocos2d@@SAPEAV12@PEBDI@Z; cocos2d::CCSpriteBatchNode::create(char const *,uint) ; +0x2e, 0x18000eeee\nmov     rdi, [r14]                                                     ; +0x34, 0x18000eef4\nlea     rcx, [rsp+48h+var_28]                                          ; +0x37, 0x18000eef7\nmov     rdx, rbx                                                       ; +0x3c, 0x18000eefc\nmov     rsi, rax                                                       ; +0x3f, 0x18000eeff\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x42, 0x18000ef02\nmov     rdx, rbp                                                       ; +0x48, 0x18000ef08\nlea     rcx, [rsp+48h+var_18]                                          ; +0x4b, 0x18000ef0b\nmov     rbx, rax                                                       ; +0x50, 0x18000ef10\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x53, 0x18000ef13\nmov     r9, rbx                                                        ; +0x59, 0x18000ef19\nmov     rdx, rsi                                                       ; +0x5c, 0x18000ef1c\nmov     r8, rax                                                        ; +0x5f, 0x18000ef1f\nmov     rcx, r14                                                       ; +0x62, 0x18000ef22\ncall    qword ptr [rdi+3D8h]                                           ; +0x65, 0x18000ef25\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x6b, 0x18000ef2b\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x70, 0x18000ef30\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x75, 0x18000ef35\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x7a, 0x18000ef3a\nadd     rsp, 40h                                                       ; +0x7f, 0x18000ef3f\npop     r14                                                            ; +0x83, 0x18000ef43\nretn                                                                   ; +0x85, 0x18000ef45", "xrefs": ["<???> @ 0x180029f98", "<???> @ 0x180032408", "<???> @ 0x18004bdc8"], "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"}