// // PlayLayer::dtRebuildLiveMarkers from 0x72cdc8 to 0x72cf28 (352 bytes) // // 3 xrefs: // > PlayLayer::resetLevel @ 0x412298 // > PlayLayer::dtLiveMarkersChanged @ 0x72cf86 // > PlayLayer::tryShowDeathMarkers @ 0x72d02e // // 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:58:17 +0000 // char **__fastcall PlayLayer::dtRebuildLiveMarkers(PlayLayer *this) { int v2; // r0 char **result; // r0 GameManager *v4; // r0 GameManager *v5; // r0 GameManager *GameVariable; // r6 GameManager *v7; // r0 int v8; // r5 int v9; // r0 GameManager *v10; // r0 GameManager *v11; // r0 DeathMarkerLayer *v12; // r0 DeathMarkerLayer *v13; // r0 char *v14[3]; // [sp+20h] [bp-24h] BYREF _BYTE v15[16]; // [sp+2Ch] [bp-18h] BYREF v2 = *((_DWORD *)this + 354); if ( v2 ) { (*(void (__fastcall **)(int))(*(_DWORD *)v2 + 260))(v2); *((_DWORD *)this + 354) = 0; } result = *((char ***)this + 353); if ( result ) { result = (char **)(*((int (__fastcall **)(char **))*result + 65))(result); *((_DWORD *)this + 353) = 0; } if ( *((_BYTE *)this + 12032) ) { v4 = (GameManager *)GameManager::sharedState((GameManager *)result); result = (char **)GameManager::getGameVariable(v4, "0207"); if ( !result ) { v5 = (GameManager *)GameManager::sharedState(nullptr); GameVariable = (GameManager *)GameManager::getGameVariable(v5, "0200"); v7 = (GameManager *)GameManager::sharedState(GameVariable); result = (char **)GameManager::getGameVariable(v7, "0202"); if ( result ) { v8 = 1; } else { if ( !GameVariable ) return result; v8 = 0; } PlayLayer::dtMarkerVisibleRect((PlayLayer *)v15, (float *)this); memset(v14, 0, sizeof(v14)); if ( GameVariable ) { PlayLayer::dtLocalCellTriples((int)this, (int *)v14); if ( !v8 ) { v9 = 0; LABEL_15: *((_DWORD *)this + 354) = v9; if ( GameVariable ) v10 = (GameManager *)GJBaseGameLayer::addDeathMarkerLayer( this, *((_DWORD *)this + 611), 0, v14, 0, (int)v15, 0x80000000, 0x80000000, 0.0, 0.0, 0.0, 0); else v10 = nullptr; goto LABEL_18; } } else if ( !v8 ) { *((_DWORD *)this + 354) = 0; v10 = nullptr; LABEL_18: *((_DWORD *)this + 353) = v10; v11 = (GameManager *)GameManager::sharedState(v10); if ( GameManager::getGameVariable(v11, "0208") ) { v12 = *((DeathMarkerLayer **)this + 354); if ( v12 ) DeathMarkerLayer::setLabelsVisible(v12, 0); v13 = *((DeathMarkerLayer **)this + 353); if ( v13 ) DeathMarkerLayer::setLabelsVisible(v13, 0); } return std::__vector_base::~__vector_base(v14); } v9 = GJBaseGameLayer::addDeathMarkerLayer( this, *((_DWORD *)this + 611), 1, (_DWORD *)this + 2989, 0, (int)v15, 0x80000000, 0x80000000, 0.0, 0.0, 0.0, 0); goto LABEL_15; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source