// // GJBaseGameLayer::activateSongEditTrigger from 0x9c1df4 to 0x9c1eec (248 bytes) // // 4 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x795a3c // > EffectGameObject::triggerObject @ 0x897eac // > GJBaseGameLayer::processQueuedAudioTriggers @ 0x9e014c // > @ 0xf31c0 // // 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 12:58:30 +0000 // __int64 __fastcall GJBaseGameLayer::activateSongEditTrigger(GJBaseGameLayer *this, SongTriggerGameObject *a2) { char *v3; // x21 unsigned __int64 v5; // x2 _QWORD *v6; // x1 SongTriggerGameObject *v8; // [xsp+30h] [xbp+30h] BYREF v3 = (char *)this + 12288; if ( *((_BYTE *)this + 12545) || !*((_BYTE *)this + 12544) ) { (*(void (__fastcall **)(GJBaseGameLayer *, SongTriggerGameObject *))(*(_QWORD *)this + 1520LL))(this, a2); if ( !v3[1516] ) { if ( *((_BYTE *)this + 1983) ) { v5 = *((_QWORD *)this + 250); v6 = *((_QWORD **)this + 249); v8 = a2; if ( (unsigned __int64)v6 >= v5 ) { std::vector::__push_back_slow_path((void **)this + 248, &v8); } else { if ( v6 ) { *v6 = a2; v6 = *((_QWORD **)this + 249); } *((_QWORD *)this + 249) = v6 + 1; } } else { GJBaseGameLayer::applySFXEditTrigger(this, *((_DWORD *)a2 + 507), 2, a2); if ( *((int *)a2 + 366) > 0 ) GJBaseGameLayer::addProximityVolumeEffect((__int64 **)this, *((_DWORD *)a2 + 507), 2, a2); } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source