//
// cocos2d::CCSpriteFrame::initWithTextureFilename_1 from 0x100342db0 to 0x100342e96 (230 bytes)
//
// 1 xrefs:
// > cocos2d::CCSpriteFrame::create_1 @ 0x100342d5b
//
// 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
//
char __fastcall cocos2d::CCSpriteFrame::initWithTextureFilename_1(__int64 a1, __int64 a2, float *a3)
{
__int64 v5; // rdi
__int64 v6; // rdi
__int64 v7; // rdi
__int64 v8; // rax
__m128 v9; // xmm3
_BYTE v11[8]; // [rsp+8h] [rbp-38h] BYREF
_BYTE v12[8]; // [rsp+10h] [rbp-30h] BYREF
float v13; // [rsp+18h] [rbp-28h]
float v14; // [rsp+1Ch] [rbp-24h]
float v15; // [rsp+20h] [rbp-20h]
float v16; // [rsp+24h] [rbp-1Ch]
v16 = *a3;
v5 = cocos2d::CCDirector::sharedDirector(a1, a2);
v13 = sub_100479350(v5) * v16;
v16 = a3[1];
v6 = cocos2d::CCDirector::sharedDirector(v5, a2);
v16 = v16 * sub_100479350(v6);
v15 = a3[2];
v7 = cocos2d::CCDirector::sharedDirector(v6, a2);
v15 = v15 * sub_100479350(v7);
v14 = a3[3];
v8 = cocos2d::CCDirector::sharedDirector(v7, a2);
v9 = (__m128)LODWORD(v14);
v9.f32[0] = v14 * sub_100479350(v8);
sub_100278270((__int64)v11, v13, v16, (__m128)LODWORD(v15), v9);
cocos2d::CCSpriteFrame::initWithTextureFilename(a1, a2, v11, 0, &unk_100BE2E20, v12);
return 1;
}