//
// SequenceTriggerGameObject::updateSequenceTotalCount from 0x4e8e9e to 0x4e8ec4 (38 bytes)
//
// 2 xrefs:
// > SequenceTriggerGameObject::customObjectSetup @ 0x4f6b58
// > SequenceTriggerGameObject::triggerObject @ 0x4f717c
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:51:07 +0000
//
_DWORD *__fastcall SequenceTriggerGameObject::updateSequenceTotalCount(_DWORD *this)
{
int v1; // r1
int i; // r3
int v3; // r2
v1 = *(this + 413);
*(this + 429) = 0;
for ( i = *(this + 412); i != v1; i += 16 )
{
v3 = *(_DWORD *)(i + 8);
*(this + 429) += v3;
}
return this;
}