//
// GJBaseGameLayer::toggleGroupTriggered from 0x85d5a4 to 0x85d610 (108 bytes)
//
// 5 xrefs:
// > `non-virtual thunk to'GJBaseGameLayer::toggleGroupTriggered @ 0x85d614
// > ??> @ 0x80898
// > ??> @ 0x11489e8
// > ??> @ 0x1155258
// > ??> @ 0x11906d8
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
// local variable allocation has failed, the output may be wrong!
void GJBaseGameLayer::toggleGroupTriggered(
GJBaseGameLayer *a1,
int a2,
bool a3,
std::vector *const a4,
int a5,
int a6)
{
_BOOL4 v6; // w19
__int64 v10; // [xsp+40h] [xbp+40h]
__int64 v11; // [xsp+48h] [xbp+48h]
v6 = a3;
v10 = *(_QWORD *)&a5;
v11 = *(_QWORD *)&a6;
GJBaseGameLayer::toggleGroup(a1, a2, a3);
if ( v6 )
((void (__fastcall *)(GJBaseGameLayer *, _QWORD, _QWORD, std::vector *const, __int64, __int64, double))a1->spawnGroup)(
a1,
(unsigned int)a2,
0,
a4,
v10,
v11,
0.0);
}