{"type": "func", "start": 6442513408, "end": 6442513481, "name": "cocos2d::extension::CCScale9Sprite::initWithSpriteFrame", "pseudocode": "// \n// cocos2d::extension::CCScale9Sprite::initWithSpriteFrame from 0x18000f400 to 0x18000f449 (73 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x180029fa0\n// > <???> @ 0x180032408\n// > <???> @ 0x18004be40\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\nbool __fastcall cocos2d::extension::CCScale9Sprite::initWithSpriteFrame(\n        cocos2d::extension::CCScale9Sprite *this,\n        struct cocos2d::CCSpriteFrame *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_18004A600);\n  return (*(bool (__fastcall **)(cocos2d::extension::CCScale9Sprite *, struct cocos2d::CCSpriteFrame *, __int64))(v2 + 1040))(\n           this,\n           a2,\n           v5);\n}", "assembly": "; \n; cocos2d::extension::CCScale9Sprite::initWithSpriteFrame from 0x18000f400 to 0x18000f449 (73 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x180029fa0\n; > <???> @ 0x180032408\n; > <???> @ 0x18004be40\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, 0x18000f400\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x18000f405\npush    rdi                                                            ; +0xa, 0x18000f40a\nsub     rsp, 30h                                                       ; +0xb, 0x18000f40b\nmov     rbx, [rcx]                                                     ; +0xf, 0x18000f40f\nmov     rdi, rdx                                                       ; +0x12, 0x18000f412\nmov     rsi, rcx                                                       ; +0x15, 0x18000f415\nlea     rdx, unk_18004A600                                             ; +0x18, 0x18000f418\nlea     rcx, [rsp+38h+var_18]                                          ; +0x1f, 0x18000f41f\ncall    cs:??0CCRect@cocos2d@@QEAA@AEBV01@@Z; cocos2d::CCRect::CCRect(cocos2d::CCRect const &) ; +0x24, 0x18000f424\nmov     rdx, rdi                                                       ; +0x2a, 0x18000f42a\nmov     rcx, rsi                                                       ; +0x2d, 0x18000f42d\nmov     r8, rax                                                        ; +0x30, 0x18000f430\ncall    qword ptr [rbx+410h]                                           ; +0x33, 0x18000f433\nmov     rbx, [rsp+38h+arg_0]                                           ; +0x39, 0x18000f439\nmov     rsi, [rsp+38h+arg_8]                                           ; +0x3e, 0x18000f43e\nadd     rsp, 30h                                                       ; +0x43, 0x18000f443\npop     rdi                                                            ; +0x47, 0x18000f447\nretn                                                                   ; +0x48, 0x18000f448", "xrefs": ["<???> @ 0x180029fa0", "<???> @ 0x180032408", "<???> @ 0x18004be40"], "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"}