//
// sub_100018908 from 0x100018908 to 0x100018964 (92 bytes)
//
// 42 xrefs:
// > sub_10001071C @ 0x1000107c8
// > GJEffectManager::prepareMoveActions @ 0x100013d4c
// > GJEffectManager::updateSpawnTriggers @ 0x100014e18
// > GJEffectManager::playerButton @ 0x1000152e8
// > sub_100015400 @ 0x100015468
// > sub_1000156F4 @ 0x100015928
// > sub_10001698C @ 0x100016abc
// > sub_10001698C @ 0x100016c24
// > sub_10001A044 @ 0x10001a0ec
// > sub_100021140 @ 0x1000211a8
// > sub_100021C90 @ 0x100021cf8
// > sub_1000220EC @ 0x100022154
// > sub_1000225B8 @ 0x100022620
// > sub_100022874 @ 0x1000228d4
// > sub_100022CCC @ 0x100022d48
// > sub_100023098 @ 0x100023100
// > sub_10014EC94 @ 0x10014ecfc
// > sub_10014F584 @ 0x10014f61c
// > sub_10015051C @ 0x100150578
// > sub_1001A1F3C @ 0x1001a1f80
// > sub_1001A1FA0 @ 0x1001a2080
// > GJBaseGameLayer::gameEventTriggered @ 0x10027edc0
// > EffectGameObject::triggerObject @ 0x10042b6d0
// > EffectGameObject::triggerObject @ 0x10042b860
// > EffectGameObject::triggerObject @ 0x10042bdf8
// > EffectGameObject::triggerObject @ 0x10042be44
// > EffectGameObject::triggerObject @ 0x10042c020
// > EffectGameObject::triggerObject @ 0x10042c1a4
// > EffectGameObject::triggerObject @ 0x10042c3ac
// > EffectGameObject::triggerObject @ 0x10042c44c
// > EffectGameObject::triggerObject @ 0x10042c698
// > EffectGameObject::triggerObject @ 0x10042c718
// > EffectGameObject::triggerObject @ 0x10042c7a0
// > RandTriggerGameObject::triggerObject @ 0x10043002c
// > SequenceTriggerGameObject::triggerObject @ 0x100430ab4
// > EventLinkTrigger::triggerObject @ 0x100434af8
// > CountTriggerGameObject::triggerObject @ 0x100437284
// > CountTriggerGameObject::triggerObject @ 0x1004372e8
// > EndTriggerGameObject::triggerObject @ 0x1004389fc
// > TimerTriggerGameObject::triggerObject @ 0x10043ae60
// > ItemTriggerGameObject::triggerObject @ 0x10043ba5c
// > sub_1004C9C38 @ 0x1004ca184
//
// 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 10:57:19 +0000
//
__int64 *__fastcall sub_100018908(__int64 *result, const void *a2, __int64 a3, unsigned __int64 a4)
{
__int64 *v6; // x19
__int64 v7; // x22
size_t v8; // x21
if ( a4 )
{
v6 = result;
result = (__int64 *)sub_100018404(result, a4);
v7 = v6[1];
v8 = a3 - (_QWORD)a2;
if ( v8 )
result = (__int64 *)memmove((void *)v6[1], a2, v8);
v6[1] = v7 + v8;
}
return result;
}