{"type": "func", "start": 6442512368, "end": 6442512486, "name": "cocos2d::extension::CCScale9Sprite::initWithFile", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eff0 to 0x18000f066 (118 bytes)\n// \n// 4 xrefs:\n// > <???> @ 0x180029f90\n// > <???> @ 0x180032408\n// > <???> @ 0x18004bdd4\n// > <???> @ 0x18004bde0\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        __int64 a2,\n        const struct cocos2d::CCRect *a3)\n{\n  __int64 v3; // rsi\n  __int64 v7; // rax\n  __int64 v8; // rbx\n  __int64 v9; // rax\n  _BYTE v11[16]; // [rsp+20h] [rbp-28h] BYREF\n  _BYTE v12[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v3 = *a1;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v11, (const struct cocos2d::CCRect *)&unk_18004A600);\n  v8 = v7;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v12, a3);\n  return (*(__int64 (__fastcall **)(__int64 *, __int64, __int64, __int64))(v3 + 1024))(a1, a2, v9, v8);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000eff0 to 0x18000f066 (118 bytes)\n; \n; 4 xrefs:\n; > <???> @ 0x180029f90\n; > <???> @ 0x180032408\n; > <???> @ 0x18004bdd4\n; > <???> @ 0x18004bde0\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, 0x18000eff0\nmov     [rsp+arg_8], rbp                                               ; +0x5, 0x18000eff5\nmov     [rsp+arg_10], rsi                                              ; +0xa, 0x18000effa\nmov     [rsp+arg_18], rdi                                              ; +0xf, 0x18000efff\npush    r14                                                            ; +0x14, 0x18000f004\nsub     rsp, 40h                                                       ; +0x16, 0x18000f006\nmov     rsi, [rcx]                                                     ; +0x1a, 0x18000f00a\nmov     rbp, rdx                                                       ; +0x1d, 0x18000f00d\nmov     r14, rcx                                                       ; +0x20, 0x18000f010\nlea     rdx, unk_18004A600                                             ; +0x23, 0x18000f013\nlea     rcx, [rsp+48h+var_28]                                          ; +0x2a, 0x18000f01a\nmov     rdi, r8                                                        ; +0x2f, 0x18000f01f\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x32, 0x18000f022\nmov     rdx, rdi                                                       ; +0x38, 0x18000f028\nlea     rcx, [rsp+48h+var_18]                                          ; +0x3b, 0x18000f02b\nmov     rbx, rax                                                       ; +0x40, 0x18000f030\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x43, 0x18000f033\nmov     r9, rbx                                                        ; +0x49, 0x18000f039\nmov     rdx, rbp                                                       ; +0x4c, 0x18000f03c\nmov     r8, rax                                                        ; +0x4f, 0x18000f03f\nmov     rcx, r14                                                       ; +0x52, 0x18000f042\ncall    qword ptr [rsi+400h]                                           ; +0x55, 0x18000f045\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x5b, 0x18000f04b\nmov     rbp, [rsp+48h+arg_8]                                           ; +0x60, 0x18000f050\nmov     rsi, [rsp+48h+arg_10]                                          ; +0x65, 0x18000f055\nmov     rdi, [rsp+48h+arg_18]                                          ; +0x6a, 0x18000f05a\nadd     rsp, 40h                                                       ; +0x6f, 0x18000f05f\npop     r14                                                            ; +0x73, 0x18000f063\nretn                                                                   ; +0x75, 0x18000f065", "xrefs": ["<???> @ 0x180029f90", "<???> @ 0x180032408", "<???> @ 0x18004bdd4", "<???> @ 0x18004bde0"], "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"}