//
// LevelEditorLayer::getActiveTraceOutObject from 0x463820 to 0x46384e (46 bytes)
//
// 1 xrefs:
// > LevelEditorLayer::updateDebugDraw @ 0x47fdcc
//
// 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:48:54 +0000
//
int __fastcall LevelEditorLayer::getActiveTraceOutObject(LevelEditorLayer *this)
{
int v1; // r3
int v2; // r3
if ( !LevelEditorLayer::s_liveTraceOut )
return *((_DWORD *)this + 3055);
v1 = *((_DWORD *)this + 2964);
if ( !v1 )
return *((_DWORD *)this + 3055);
v2 = *(_DWORD *)(v1 + 996);
if ( !v2 )
return *((_DWORD *)this + 3055);
if ( *(_DWORD *)(v2 + 1084) == 1 )
return v2;
return 0;
}