{"type": "func", "start": 6443054192, "end": 6443054418, "name": "cocos2d::CCSpriteFrame::setRect", "pseudocode": "// \n// cocos2d::CCSpriteFrame::setRect from 0x180093470 to 0x180093552 (226 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c0558\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 11:22:08 +0000\n// \n\nvoid __fastcall cocos2d::CCSpriteFrame::setRect(cocos2d::CCSpriteFrame *this, const struct cocos2d::CCRect *a2)\n{\n  float v3; // xmm6_4\n  cocos2d::CCDirector *v4; // rax\n  float v5; // xmm9_4\n  float v6; // xmm6_4\n  cocos2d::CCDirector *v7; // rax\n  float v8; // xmm8_4\n  float v9; // xmm6_4\n  cocos2d::CCDirector *v10; // rax\n  float v11; // xmm7_4\n  float v12; // xmm6_4\n  cocos2d::CCDirector *v13; // rax\n  float ContentScaleFactor; // xmm0_4\n  cocos2d::CCRect *v15; // rax\n  _BYTE v16[16]; // [rsp+30h] [rbp-58h] BYREF\n\n  cocos2d::CCRect::operator=((__int64)this + 92, (__int64)a2);\n  v3 = *((float *)this + 26);\n  v4 = cocos2d::CCDirector::sharedDirector();\n  v5 = cocos2d::CCDirector::getContentScaleFactor(v4) * v3;\n  v6 = *((float *)this + 25);\n  v7 = cocos2d::CCDirector::sharedDirector();\n  v8 = cocos2d::CCDirector::getContentScaleFactor(v7) * v6;\n  v9 = *((float *)this + 24);\n  v10 = cocos2d::CCDirector::sharedDirector();\n  v11 = cocos2d::CCDirector::getContentScaleFactor(v10) * v9;\n  v12 = *((float *)this + 23);\n  v13 = cocos2d::CCDirector::sharedDirector();\n  ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v13);\n  v15 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v16, ContentScaleFactor * v12, v11, v8, v5);\n  cocos2d::CCRect::operator=((__int64)this + 72, (__int64)v15);\n}", "assembly": "; \n; cocos2d::CCSpriteFrame::setRect from 0x180093470 to 0x180093552 (226 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c0558\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 11:22:08 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x180093470\npush    rdi                                                            ; +0x5, 0x180093475\nsub     rsp, 80h                                                       ; +0x6, 0x180093476\nmovaps  [rsp+88h+var_18], xmm6                                         ; +0xd, 0x18009347d\nmov     rdi, rcx                                                       ; +0x12, 0x180093482\nmovaps  [rsp+88h+var_28], xmm7                                         ; +0x15, 0x180093485\nadd     rcx, 5Ch ; '\\'                                                 ; +0x1a, 0x18009348a\nmovaps  [rsp+88h+var_38], xmm8                                         ; +0x1e, 0x18009348e\nmovaps  [rsp+88h+var_48], xmm9                                         ; +0x24, 0x180093494\ncall    ??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0x2a, 0x18009349a\nmovss   xmm6, dword ptr [rdi+68h]                                      ; +0x2f, 0x18009349f\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x34, 0x1800934a4\nmov     rcx, rax; this                                                 ; +0x39, 0x1800934a9\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x3c, 0x1800934ac\nmovaps  xmm9, xmm0                                                     ; +0x41, 0x1800934b1\nmulss   xmm9, xmm6                                                     ; +0x45, 0x1800934b5\nmovss   xmm6, dword ptr [rdi+64h]                                      ; +0x4a, 0x1800934ba\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x4f, 0x1800934bf\nmov     rcx, rax; this                                                 ; +0x54, 0x1800934c4\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x57, 0x1800934c7\nmovaps  xmm8, xmm0                                                     ; +0x5c, 0x1800934cc\nmulss   xmm8, xmm6                                                     ; +0x60, 0x1800934d0\nmovss   xmm6, dword ptr [rdi+60h]                                      ; +0x65, 0x1800934d5\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x6a, 0x1800934da\nmov     rcx, rax; this                                                 ; +0x6f, 0x1800934df\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x72, 0x1800934e2\nmovaps  xmm7, xmm0                                                     ; +0x77, 0x1800934e7\nmulss   xmm7, xmm6                                                     ; +0x7a, 0x1800934ea\nmovss   xmm6, dword ptr [rdi+5Ch]                                      ; +0x7e, 0x1800934ee\ncall    ?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0x83, 0x1800934f3\nmov     rcx, rax; this                                                 ; +0x88, 0x1800934f8\ncall    ?getContentScaleFactor@CCDirector@cocos2d@@QEAAMXZ; cocos2d::CCDirector::getContentScaleFactor(void) ; +0x8b, 0x1800934fb\nmulss   xmm0, xmm6                                                     ; +0x90, 0x180093500\nlea     rcx, [rsp+88h+var_58]; this                                    ; +0x94, 0x180093504\nmovaps  xmm3, xmm8; float                                              ; +0x99, 0x180093509\nmovss   [rsp+88h+var_68], xmm9; float                                  ; +0x9d, 0x18009350d\nmovaps  xmm2, xmm7; float                                              ; +0xa4, 0x180093514\nmovaps  xmm1, xmm0; float                                              ; +0xa7, 0x180093517\ncall    ??0CCRect@cocos2d@@QEAA@MMMM@Z; cocos2d::CCRect::CCRect(float,float,float,float) ; +0xaa, 0x18009351a\nmov     rdx, rax                                                       ; +0xaf, 0x18009351f\nlea     rcx, [rdi+48h]                                                 ; +0xb2, 0x180093522\ncall    ??4CCRect@cocos2d@@QEAAAEAV01@AEBV01@@Z; cocos2d::CCRect::operator=(cocos2d::CCRect const &) ; +0xb6, 0x180093526\nmov     rbx, [rsp+88h+arg_0]                                           ; +0xbb, 0x18009352b\nmovaps  xmm6, [rsp+88h+var_18]                                         ; +0xc3, 0x180093533\nmovaps  xmm7, [rsp+88h+var_28]                                         ; +0xc8, 0x180093538\nmovaps  xmm8, [rsp+88h+var_38]                                         ; +0xcd, 0x18009353d\nmovaps  xmm9, [rsp+88h+var_48]                                         ; +0xd3, 0x180093543\nadd     rsp, 80h                                                       ; +0xd9, 0x180093549\npop     rdi                                                            ; +0xe0, 0x180093550\nretn                                                                   ; +0xe1, 0x180093551", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c0558"], "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"}