//
// sub_1004279A8 from 0x1004279a8 to 0x1004279fc (84 bytes)
//
// 4 xrefs:
// > sub_1004278B8 @ 0x10042796c
// > ParticleGameObject::setScaleX @ 0x100427cd0
// > ParticleGameObject::setScaleY @ 0x100427d20
// > ParticleGameObject::setScale @ 0x100427d70
//
// This function is hookable on this platform (idp: arm, 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:05:02 +0000
//
float __fastcall sub_1004279A8(__int64 a1, float result)
{
float v2; // s8
float v4; // s0
if ( *(_QWORD *)(a1 + 776) )
{
v2 = result;
v4 = (*(float (__fastcall **)(__int64))(*(_QWORD *)a1 + 368LL))(a1);
sub_10042765C((_BYTE *)a1, *(float **)(a1 + 776), v4);
cocos2d::CCParticleSystem::loadScaledDefaults(*(_QWORD *)(a1 + 776), fabsf(v2));
}
return result;
}