//
// CustomSFXCell::sfxEditCustomObject from 0x140150b00 to 0x140150b3e (62 bytes)
//
// 2 xrefs:
// > ??> @ 0x14073d690
// > ??> @ 0x1409177a4
//
// 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 11:27:17 +0000
//
__int64 __fastcall CustomSFXCell::sfxEditCustomObject(__int64 a1)
{
__int64 result; // rax
__int64 v2; // rdx
__int64 (__fastcall ***v4)(_QWORD, __int64, _QWORD, __int64, _QWORD); // rcx
result = *(_QWORD *)(a1 - 144);
v2 = a1 - 560;
v4 = *(__int64 (__fastcall ****)(_QWORD, __int64, _QWORD, __int64, _QWORD))(result + 624);
if ( v4 )
return (**v4)(v4, v2, *(unsigned int *)(a1 - 8), 6, 0);
return result;
}