{"type": "func", "start": 6442512640, "end": 6442512740, "name": "cocos2d::extension::CCScale9Sprite::initWithFile", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000f100 to 0x18000f164 (100 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180029f88\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bdf8\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 struct cocos2d::CCRect *a2,\n        __int64 a3)\n{\n  __int64 v3; // rdi\n  __int64 v6; // rax\n  __int64 v7; // rbx\n  __int64 v8; // rax\n  _BYTE v10[16]; // [rsp+20h] [rbp-28h] BYREF\n  _BYTE v11[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v3 = *a1;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v10, a2);\n  v7 = v6;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, (const struct cocos2d::CCRect *)&unk_18004A600);\n  return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64, __int64))(v3 + 1024))(a1, a3, v8, v7);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000f100 to 0x18000f164 (100 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180029f88\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bdf8\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, 0x18000f100\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18000f105\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18000f10a\npush    rdi                                                            ; +0xf, 0x18000f10f\nsub     rsp, 40h                                                       ; +0x10, 0x18000f110\nmov     rdi, [rcx]                                                     ; +0x14, 0x18000f114\nmov     rsi, rcx                                                       ; +0x17, 0x18000f117\nlea     rcx, [rsp+48h+var_28]                                          ; +0x1a, 0x18000f11a\nmov     rbp, r8                                                        ; +0x1f, 0x18000f11f\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x22, 0x18000f122\nlea     rdx, unk_18004A600                                             ; +0x28, 0x18000f128\nmov     rbx, rax                                                       ; +0x2f, 0x18000f12f\nlea     rcx, [rsp+48h+var_18]                                          ; +0x32, 0x18000f132\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x37, 0x18000f137\nmov     r9, rbx                                                        ; +0x3d, 0x18000f13d\nmov     rdx, rbp                                                       ; +0x40, 0x18000f140\nmov     r8, rax                                                        ; +0x43, 0x18000f143\nmov     rcx, rsi                                                       ; +0x46, 0x18000f146\ncall    qword ptr [rdi+400h]                                           ; +0x49, 0x18000f149\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x4f, 0x18000f14f\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x54, 0x18000f154\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x59, 0x18000f159\nadd     rsp, 40h                                                       ; +0x5e, 0x18000f15e\npop     rdi                                                            ; +0x62, 0x18000f162\nretn                                                                   ; +0x63, 0x18000f163", "xrefs": ["<???> @ 0x180029f88", "<???> @ 0x180032408", "<???> @ 0x18004bdf8"], "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"}