// // LevelEditorLayer::forceShowSelectedObjects from 0x1000bda00 to 0x1000bdad4 (212 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: pc, 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:20:32 +0000 // _QWORD *__fastcall LevelEditorLayer::forceShowSelectedObjects(__int64 a1, char a2) { _QWORD *result; // rax __int64 v3; // rcx __int64 v4; // rdi __int64 v5; // rcx unsigned __int64 v6; // rcx __int64 v7; // rdx result = *(_QWORD **)(a1 + 14248); if ( result ) { result = (_QWORD *)sub_1007FEF90(result[112]); v3 = *(_QWORD *)(a1 + 14248); if ( (_DWORD)result ) { result = *(_QWORD **)(v3 + 896); if ( !result ) return result; } else { v4 = *(_QWORD *)(v3 + 1496); if ( !v4 ) return result; result = (_QWORD *)sub_1007FE9A0(v4); if ( !result ) return result; } result = (_QWORD *)result[7]; v5 = *(unsigned int *)result; if ( *(_DWORD *)result ) { result = (_QWORD *)result[2]; v6 = (unsigned __int64)&result[v5 - 1]; if ( a2 ) { do { v7 = *result; if ( !*result ) break; *(_BYTE *)(v7 + 651) = *(_BYTE *)(v7 + 650); *(_BYTE *)(v7 + 650) = 0; ++result; } while ( (unsigned __int64)result <= v6 ); } else { do { if ( !*result ) break; *(_BYTE *)(*result + 650LL) = *(_BYTE *)(*result + 651LL); ++result; } while ( (unsigned __int64)result <= v6 ); } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source