//
// cocos2d::CCSpriteFrame::setRect from 0x180093470 to 0x180093552 (226 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0558
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:08 +0000
//
void __fastcall cocos2d::CCSpriteFrame::setRect(cocos2d::CCSpriteFrame *this, const struct cocos2d::CCRect *a2)
{
float v3; // xmm6_4
cocos2d::CCDirector *v4; // rax
float v5; // xmm9_4
float v6; // xmm6_4
cocos2d::CCDirector *v7; // rax
float v8; // xmm8_4
float v9; // xmm6_4
cocos2d::CCDirector *v10; // rax
float v11; // xmm7_4
float v12; // xmm6_4
cocos2d::CCDirector *v13; // rax
float ContentScaleFactor; // xmm0_4
cocos2d::CCRect *v15; // rax
_BYTE v16[16]; // [rsp+30h] [rbp-58h] BYREF
cocos2d::CCRect::operator=((__int64)this + 92, (__int64)a2);
v3 = *((float *)this + 26);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = cocos2d::CCDirector::getContentScaleFactor(v4) * v3;
v6 = *((float *)this + 25);
v7 = cocos2d::CCDirector::sharedDirector();
v8 = cocos2d::CCDirector::getContentScaleFactor(v7) * v6;
v9 = *((float *)this + 24);
v10 = cocos2d::CCDirector::sharedDirector();
v11 = cocos2d::CCDirector::getContentScaleFactor(v10) * v9;
v12 = *((float *)this + 23);
v13 = cocos2d::CCDirector::sharedDirector();
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v13);
v15 = cocos2d::CCRect::CCRect((cocos2d::CCRect *)v16, ContentScaleFactor * v12, v11, v8, v5);
cocos2d::CCRect::operator=((__int64)this + 72, (__int64)v15);
}