// // GJBaseGameLayer::spawnObject from 0x1001ec3f8 to 0x1001ec5b0 (440 bytes) // // 4 xrefs: // > sub_1001EDB9C @ 0x1001edba0 // > @ 0x10078fd68 // > @ 0x1007c0b80 // > @ 0x1007f42e0 // // 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::spawnObject( GJBaseGameLayer *a1, GameObject *a2, double a3, std::vector *const a4) { GJBaseGameLayer *v8; // x0 std::unordered_map v9; // [xsp+0h] [xbp-60h] BYREF if ( !a1->m_spawnAbuse ) { if ( a2->m_classType == Effect ) { if ( !a2->m_isGroupDisabled && (a2[1].m_bUseChildIndex || (((__int64 (__fastcall *)(GameObject *))a2->hasBeenActivated)(a2) & 1) == 0) && BYTE1(a2[1].m_sAdditionalTransform.b) == 1 && GameObject::isSpawnableTrigger(a2) ) { if ( a4->__begin_ == a4->__end_ ) { ((void (__fastcall *)(GameObject *, float))a2->triggerActivated)(a2, 0.0); if ( a2->m_objectID == 1268 ) { SpawnTriggerGameObject::updateRemapKeys((SpawnTriggerGameObject *)a2, a4); *(double *)&a2[1].m_sQuad.br.colors.r = a3; } ((void (__fastcall *)(GameObject *, GJBaseGameLayer *, _QWORD, std::vector *const))a2->triggerObject)( a2, a1, 0, a4); } else { memset(&v9, 0, 32); v9.__table_.__p3_.__value_ = 1.0; GJBaseGameLayer::applyRemap(a1, (EffectGameObject *)a2, a4, &v9); ((void (__fastcall *)(GameObject *, float))a2->triggerActivated)(a2, 0.0); if ( a2->m_objectID == 1268 ) { SpawnTriggerGameObject::updateRemapKeys((SpawnTriggerGameObject *)a2, a4); *(double *)&a2[1].m_sQuad.br.colors.r = a3; } v8 = (GJBaseGameLayer *)((__int64 (__fastcall *)(GameObject *, GJBaseGameLayer *, _QWORD, std::vector *const))a2->triggerObject)( a2, a1, 0, a4); if ( a4->__begin_ != a4->__end_ ) GJBaseGameLayer::restoreRemap(v8, (EffectGameObject *)a2, &v9); sub_100017A98((__int64)&v9); } } } else { ((void (__fastcall *)(GameObject *, double))a2->animationTriggered)(a2, a3); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source