{"type": "func", "start": 6442507072, "end": 6442507165, "name": "cocos2d::extension::CCScale9Sprite::init", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::init from 0x18000db40 to 0x18000db9d (93 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180027598\n// > <???> @ 0x18002fdf8\n// > <???> @ 0x180049e64\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::init(cocos2d::extension::CCScale9Sprite *this)\n{\n  __int64 v1; // rdi\n  __int64 v3; // rbx\n  __int64 v4; // rax\n  _BYTE v6[16]; // [rsp+20h] [rbp-28h] BYREF\n  _BYTE v7[24]; // [rsp+30h] [rbp-18h] BYREF\n\n  v1 = *(_QWORD *)this;\n  v3 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v6, (const struct cocos2d::CCRect *)&unk_180048610);\n  v4 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v7, (const struct cocos2d::CCRect *)&unk_180048610);\n  return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, _QWORD, __int64, __int64))(v1 + 968))(\n           this,\n           0,\n           v4,\n           v3);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::init from 0x18000db40 to 0x18000db9d (93 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180027598\n; > <???> @ 0x18002fdf8\n; > <???> @ 0x180049e64\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, 0x18000db40\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18000db45\npush    rdi                                                            ; +0xa, 0x18000db4a\nsub     rsp, 40h                                                       ; +0xb, 0x18000db4b\nmov     rdi, [rcx]                                                     ; +0xf, 0x18000db4f\nlea     rdx, unk_180048610                                             ; +0x12, 0x18000db52\nmov     rsi, rcx                                                       ; +0x19, 0x18000db59\nlea     rcx, [rsp+48h+var_28]                                          ; +0x1c, 0x18000db5c\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x21, 0x18000db61\nlea     rdx, unk_180048610                                             ; +0x27, 0x18000db67\nmov     rbx, rax                                                       ; +0x2e, 0x18000db6e\nlea     rcx, [rsp+48h+var_18]                                          ; +0x31, 0x18000db71\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x36, 0x18000db76\nmov     r9, rbx                                                        ; +0x3c, 0x18000db7c\nxor     edx, edx                                                       ; +0x3f, 0x18000db7f\nmov     r8, rax                                                        ; +0x41, 0x18000db81\nmov     rcx, rsi                                                       ; +0x44, 0x18000db84\ncall    qword ptr [rdi+3C8h]                                           ; +0x47, 0x18000db87\nmov     rbx, [rsp+48h+arg_0]                                           ; +0x4d, 0x18000db8d\nmov     rsi, [rsp+48h+arg_8]                                           ; +0x52, 0x18000db92\nadd     rsp, 40h                                                       ; +0x57, 0x18000db97\npop     rdi                                                            ; +0x5b, 0x18000db9b\nretn                                                                   ; +0x5c, 0x18000db9c", "xrefs": ["<???> @ 0x180027598", "<???> @ 0x18002fdf8", "<???> @ 0x180049e64"], "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"}