{"type": "func", "start": 6442514240, "end": 6442514313, "name": "cocos2d::extension::CCScale9Sprite::initWithFile", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000f740 to 0x18000f789 (73 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180027928\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049f30\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nbool __fastcall cocos2d::extension::CCScale9Sprite::initWithFile(\n        cocos2d::extension::CCScale9Sprite *this,\n        const char *a2)\n{\n  __int64 v2; // rbx\n  __int64 v5; // rax\n  _BYTE v7[24]; // [rsp+20h] [rbp-18h] BYREF\n\n  v2 = *(_QWORD *)this;\n  cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, (const struct cocos2d::CCRect *)&unk_180048610);\n  return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, const char *, __int64))(v2 + 1000))(this, a2, v5);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::initWithFile from 0x18000f740 to 0x18000f789 (73 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180027928\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049f30\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x18000f740\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18000f745\npush    rdi                                                            ; +0xa, 0x18000f74a\nsub     rsp, 30h                                                       ; +0xb, 0x18000f74b\nmov     rbx, [rcx]                                                     ; +0xf, 0x18000f74f\nmov     rdi, rdx                                                       ; +0x12, 0x18000f752\nmov     rsi, rcx                                                       ; +0x15, 0x18000f755\nlea     rdx, unk_180048610                                             ; +0x18, 0x18000f758\nlea     rcx, [rsp+38h+var_18]                                          ; +0x1f, 0x18000f75f\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x24, 0x18000f764\nmov     rdx, rdi                                                       ; +0x2a, 0x18000f76a\nmov     rcx, rsi                                                       ; +0x2d, 0x18000f76d\nmov     r8, rax                                                        ; +0x30, 0x18000f770\ncall    qword ptr [rbx+3E8h]                                           ; +0x33, 0x18000f773\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x39, 0x18000f779\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x3e, 0x18000f77e\nadd     rsp, 30h                                                       ; +0x43, 0x18000f783\npop     rdi                                                            ; +0x47, 0x18000f787\nretn                                                                   ; +0x48, 0x18000f788", "xrefs": ["<???> @ 0x180027928", "<???> @ 0x18002fdf8", "<???> @ 0x180049f30"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}