//
// cocos2d::CCSpriteFrame::setRectInPixels from 0x100343af0 to 0x100343bcf (223 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
//
__m128 *__fastcall cocos2d::CCSpriteFrame::setRectInPixels(__int64 a1, __int64 a2)
{
__m128 *v3; // rdi
__int64 v4; // rdi
__int64 v5; // rdi
__int64 v6; // rdi
__int64 v7; // rax
__m128 v8; // xmm3
unsigned __int64 v10[2]; // [rsp+0h] [rbp-30h] BYREF
float v11; // [rsp+10h] [rbp-20h]
float v12; // [rsp+14h] [rbp-1Ch]
float v13; // [rsp+18h] [rbp-18h]
float v14; // [rsp+1Ch] [rbp-14h]
v3 = (__m128 *)(a1 + 72);
sub_100278810(v3, (unsigned __int64 *)a2);
v12 = *(float *)a2;
v4 = cocos2d::CCDirector::sharedDirector(v3, a2);
v12 = v12 / sub_100479350(v4);
v13 = *(float *)(a2 + 4);
v5 = cocos2d::CCDirector::sharedDirector(v4, a2);
v13 = v13 / sub_100479350(v5);
v14 = *(float *)(a2 + 8);
v6 = cocos2d::CCDirector::sharedDirector(v5, a2);
v14 = v14 / sub_100479350(v6);
v11 = *(float *)(a2 + 12);
v7 = cocos2d::CCDirector::sharedDirector(v6, a2);
v8 = (__m128)LODWORD(v11);
v8.f32[0] = v11 / sub_100479350(v7);
sub_100278270((__int64)v10, v12, v13, (__m128)LODWORD(v14), v8);
return sub_100278810((__m128 *)(a1 + 92), v10);
}