// // GJLevelList::reorderLevel from 0x100562bb0 to 0x100562c6d (189 bytes) // // 2 xrefs: // > LevelListLayer::setIDPopupClosed @ 0x10035f9e7 // > sub_10035FA50 @ 0x10035fa90 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall GJLevelList::reorderLevel(GJLevelList *a1, int a2, int a3) { __int64 v3; // rax std::__vector_base::pointer begin; // rax std::__vector_base::pointer end; // r14 std::__vector_base::pointer v6; // rbx std::vector *p_m_levels; // r15 size_t v8; // r14 int v9; // r13d int *v10; // rbx unsigned __int64 v11; // rbx __int64 v12; // rcx int v13[11]; // [rsp+0h] [rbp-2Ch] BYREF v13[0] = HIDWORD(v3); begin = a1->m_levels.__begin_; end = a1->m_levels.__end_; v6 = begin; if ( begin != end ) { v6 = a1->m_levels.__begin_; while ( *v6 != a2 ) { if ( ++v6 == end ) goto LABEL_14; } } if ( v6 != end ) { p_m_levels = &a1->m_levels; v13[0] = *v6; v8 = (char *)end - (char *)(v6 + 1); if ( v8 ) { v9 = a3; memmove(v6, v6 + 1, v8); a3 = v9; begin = p_m_levels->__begin_; } v10 = (std::__vector_base::pointer)((char *)v6 + v8); a1->m_levels.__end_ = v10; v11 = v10 - begin; if ( v11 >= (unsigned int)a3 ) LODWORD(v11) = a3; v12 = 0; if ( a3 >= 0 ) v12 = (unsigned int)v11; sub_100562C70(p_m_levels, &begin[v12], v13); } LABEL_14: GJLevelList::updateLevelsString(a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source