//
// GJBaseGameLayer::controlAreaEffect from 0x100136790 to 0x10013683f (175 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall GJBaseGameLayer::controlAreaEffect(
GJBaseGameLayer *a1,
EnterEffectObject *a2,
std::vector *a3,
GJActionCommand a4)
{
std::__vector_base::pointer begin; // rax
EnterEffectInstance *end; // rcx
__int64 v9; // rdx
int v10; // r13d
__int64 v11; // rsi
char v12; // dl
begin = a3->__begin_;
end = a3->__end_;
if ( end != a3->__begin_ )
{
v9 = 0;
v10 = 0;
do
{
if ( begin[v9].m_gameObject == a2 )
{
v11 = (__int64)&begin[v9];
switch ( a4 )
{
case Stop:
sub_10011ECC0((__int64)a3, v11);
begin = a3->__begin_;
end = a3->__end_;
goto LABEL_11;
case Pause:
v12 = 1;
goto LABEL_9;
case Resume:
v12 = 0;
LABEL_9:
*(_BYTE *)(v11 + 196) = v12;
*(_BYTE *)(v11 + 197) = v12;
break;
}
}
++v10;
LABEL_11:
v9 = v10;
}
while ( 0xEEEEEEEEEEEEEEEFLL * (((char *)end - (char *)begin) >> 4) > v10 );
}
}