//
// cocos2d::CCSpriteFrame::setOffsetInPixels from 0x100343c80 to 0x100343d05 (133 bytes)
//
// 0 xrefs:
//
// 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 12:28:44 +0000
//
_QWORD *__fastcall cocos2d::CCSpriteFrame::setOffsetInPixels(__int64 a1, _QWORD *a2)
{
_QWORD *v3; // rdi
__int64 v4; // rdi
__int64 v5; // rax
float v6; // xmm1_4
__int64 v8; // [rsp+0h] [rbp-20h] BYREF
float v9; // [rsp+8h] [rbp-18h]
float v10; // [rsp+Ch] [rbp-14h]
v3 = (_QWORD *)(a1 + 108);
sub_100278300(v3, a2);
v10 = *(float *)(a1 + 108);
v4 = cocos2d::CCDirector::sharedDirector(v3, a2);
v10 = v10 / sub_100479350(v4);
v9 = *(float *)(a1 + 112);
v5 = cocos2d::CCDirector::sharedDirector(v4, a2);
v6 = v9 / sub_100479350(v5);
sub_100278250((float *)&v8, v10, v6);
return sub_100278300((_QWORD *)(a1 + 56), &v8);
}