//
// cocos2d::CCSpriteFrame::setOffset from 0x180093370 to 0x1800933f0 (128 bytes)
//
// 2 xrefs:
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c0540
//
// 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::setOffset(cocos2d::CCSpriteFrame *this, const struct cocos2d::CCPoint *a2)
{
float v3; // xmm6_4
cocos2d::CCDirector *v4; // rax
float v5; // xmm7_4
float v6; // xmm6_4
cocos2d::CCDirector *v7; // rax
float ContentScaleFactor; // xmm0_4
float *v9; // rax
float v10; // [rsp+50h] [rbp+8h] BYREF
cocos2d::CCSize::operator=((_DWORD *)this + 14, a2);
v3 = *((float *)this + 15);
v4 = cocos2d::CCDirector::sharedDirector();
v5 = cocos2d::CCDirector::getContentScaleFactor(v4) * v3;
v6 = *((float *)this + 14);
v7 = cocos2d::CCDirector::sharedDirector();
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v7);
v9 = kmVec2Fill(&v10, ContentScaleFactor * v6, v5);
cocos2d::CCSize::operator=((_DWORD *)this + 27, v9);
}