//
// EffectGameObject::stateSensitiveOff from 0x86e208 to 0x86e2ec (228 bytes)
//
// 40 xrefs:
// > ??> @ 0xeebd0
// > ??> @ 0x1443b10
// > ??> @ 0x1444320
// > ??> @ 0x1444b30
// > ??> @ 0x1445340
// > ??> @ 0x1445b50
// > ??> @ 0x1446360
// > ??> @ 0x1446b70
// > ??> @ 0x1448b80
// > ??> @ 0x1449390
// > ??> @ 0x144a3f0
// > ??> @ 0x144ac00
// > ??> @ 0x144b410
// > ??> @ 0x144bc20
// > ??> @ 0x144c430
// > ??> @ 0x144cc50
// > ??> @ 0x144d460
// > ??> @ 0x144dc70
// > ??> @ 0x144e480
// > ??> @ 0x144ec90
// > ??> @ 0x144f4a0
// > ??> @ 0x144fcb0
// > ??> @ 0x14504c0
// > ??> @ 0x1450cd0
// > ??> @ 0x14514e0
// > ??> @ 0x1451cf0
// > ??> @ 0x1452500
// > ??> @ 0x1452d10
// > ??> @ 0x1453520
// > ??> @ 0x1453d30
// > ??> @ 0x1454540
// > ??> @ 0x1454d50
// > ??> @ 0x1455560
// > ??> @ 0x1455d70
// > ??> @ 0x1456580
// > ??> @ 0x1456d90
// > ??> @ 0x14575a0
// > ??> @ 0x1457db0
// > ??> @ 0x14585c0
// > ??> @ 0x1458dd0
//
// 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 12:55:44 +0000
//
__int64 __fastcall EffectGameObject::stateSensitiveOff(EffectGameObject *this, GJBaseGameLayer *a2)
{
__int64 v4; // x5
__int64 v6; // x4
__int64 v7; // x1
void (__fastcall *v8)(GJBaseGameLayer *, __int64, _QWORD, void **, __int64, __int64, double); // x6
__int64 v9; // x5
void *v10; // [xsp+20h] [xbp+20h] BYREF
char *v11; // [xsp+28h] [xbp+28h]
__int64 v12; // [xsp+30h] [xbp+30h]
if ( *((_DWORD *)this + 257) == 3640 )
{
v4 = *(_QWORD *)a2;
v6 = *((unsigned int *)this + 229);
v7 = *((unsigned int *)this + 367);
v8 = *(void (__fastcall **)(GJBaseGameLayer *, __int64, _QWORD, void **, __int64, __int64, double))(v4 + 1256);
v9 = *((unsigned int *)this + 418);
v10 = nullptr;
v11 = nullptr;
v12 = 0;
v8(a2, v7, 0, &v10, v6, v9, 0.0);
if ( v10 )
{
if ( v10 != v11 )
v11 += 4 * ~((unsigned __int64)(v11 - 4 - (_BYTE *)v10) >> 2);
operator delete(v10);
}
}
return _stack_chk_guard;
}