//
// cocos2d::CCSpriteFrame::setOffsetInPixels from 0xb194b4 to 0xb1954c (152 bytes)
//
// 1 xrefs:
// > ??> @ 0x78f48
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
void cocos2d::CCSpriteFrame::setOffsetInPixels(cocos2d::CCSpriteFrame *a1, const cocos2d::CCPoint *a2)
{
float v2; // s0
float v3; // s1
float x; // s9
cocos2d::CCDirector *v6; // x0
float v7; // s9
float y; // s8
cocos2d::CCDirector *v9; // x0
float ContentScaleFactor; // s0
float v11; // s0
float v12; // s1
cocos2d::CCPoint v13; // [xsp+50h] [xbp+50h] BYREF
cocos2d::CCPoint::operator=(&a1->m_obOffsetInPixels, v2, v3, (float *)a2);
x = a1->m_obOffsetInPixels.x;
v6 = cocos2d::CCDirector::sharedDirector();
v7 = x / cocos2d::CCDirector::getContentScaleFactor(v6);
y = a1->m_obOffsetInPixels.y;
v9 = cocos2d::CCDirector::sharedDirector();
ContentScaleFactor = cocos2d::CCDirector::getContentScaleFactor(v9);
cocos2d::CCPoint::CCPoint(&v13, v7, y / ContentScaleFactor);
cocos2d::CCPoint::operator=(&a1->m_obOffset, v11, v12, (float *)&v13);
}