// // GJBaseGameLayer::activateSongEditTrigger from 0x5a5170 to 0x5a520a (154 bytes) // // 3 xrefs: // > LevelEditorLayer::activateTriggerEffect @ 0x467b80 // > EffectGameObject::triggerObject @ 0x4f4c70 // > GJBaseGameLayer::processQueuedAudioTriggers @ 0x5b1c1c // // 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:53:19 +0000 // void __fastcall GJBaseGameLayer::activateSongEditTrigger(GJBaseGameLayer *this, SongTriggerGameObject *a2) { _DWORD *v4; // r3 unsigned int v5; // r2 _DWORD v6[2]; // [sp+0h] [bp-8h] BYREF v6[0] = this; v6[1] = a2; if ( *((_BYTE *)this + 10785) || !*((_BYTE *)this + 10784) ) { (*(void (__fastcall **)(GJBaseGameLayer *, SongTriggerGameObject *))(*(_DWORD *)this + 760))(this, a2); if ( !*((_BYTE *)this + 11568) ) { if ( *((_BYTE *)this + 1439) ) { v4 = *((_DWORD **)this + 361); v5 = *((_DWORD *)this + 362); v6[0] = a2; if ( (unsigned int)v4 >= v5 ) { std::vector::__push_back_slow_path((_DWORD *)this + 360, v6); } else { if ( v4 ) *v4 = a2; *((_DWORD *)this + 361) += 4; } } else { GJBaseGameLayer::applySFXEditTrigger(this, *((_DWORD *)a2 + 453), 2, a2); if ( *((int *)a2 + 321) > 0 ) GJBaseGameLayer::addProximityVolumeEffect((int **)this, *((_DWORD *)a2 + 453), 2, a2); } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source