// // LevelListLayer::verifyListName from 0xa77fe4 to 0xa78244 (608 bytes) // // 2 xrefs: // > LevelListLayer::onBack @ 0xa782cc // > @ 0x45618 // // 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 LevelListLayer::verifyListName(LevelListLayer *a1) { void *v2; // x0 __int64 v3; // x23 void *v4; // x0 __int64 v5; // x23 GJLevelList *m_levelList; // x22 __int64 v7; // x1 void *v8; // x0 unsigned int *v9; // x1 int v10; // w2 GJLevelList *v11; // x22 unsigned int *v12; // x1 unsigned int *v13; // x1 int v14; // w2 unsigned int *v15; // x1 int v16; // w2 __int64 v17; // [xsp+50h] [xbp+50h] BYREF sub_D18D28(&v17); v2 = (void *)(v17 - 24); v3 = *(_QWORD *)(v17 - 24); if ( (__int64 *)(v17 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v13 = (unsigned int *)(v17 - 8); do v14 = __ldaxr(v13); while ( __stlxr(v14 - 1, v13) ); } else { v14 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v14 - 1; } if ( v14 <= 0 ) operator delete(v2); } if ( !v3 ) { sub_D18D28(&v17); v4 = (void *)(v17 - 24); v5 = *(_QWORD *)(v17 - 24); if ( (__int64 *)(v17 - 24) == &qword_124B6B0 ) goto LABEL_5; if ( &pthread_create ) { v15 = (unsigned int *)(v17 - 8); do v16 = __ldaxr(v15); while ( __stlxr(v16 - 1, v15) ); } else { v16 = *(_DWORD *)(v17 - 8); *(_DWORD *)(v17 - 8) = v16 - 1; } if ( v16 > 0 ) { LABEL_5: if ( v5 ) goto LABEL_6; } else { operator delete(v4); if ( v5 ) { LABEL_6: m_levelList = a1->m_levelList; sub_D18D28(&v17); sub_D18EA8(&m_levelList->m_listName, &v17); v7 = v17; v8 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) == &qword_124B6B0 ) return; if ( &pthread_create ) { v9 = (unsigned int *)(v17 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); goto LABEL_10; } LABEL_30: v10 = *(_DWORD *)(v7 - 8); *(_DWORD *)(v7 - 8) = v10 - 1; LABEL_10: if ( v10 <= 0 ) operator delete(v8); return; } } v11 = a1->m_levelList; sub_D153B8((int)&v17, "Unknown"); sub_D18EA8(&v11->m_listName, &v17); v7 = v17; v8 = (void *)(v17 - 24); if ( (__int64 *)(v17 - 24) == &qword_124B6B0 ) return; if ( &pthread_create ) { v12 = (unsigned int *)(v17 - 8); do v10 = __ldaxr(v12); while ( __stlxr(v10 - 1, v12) ); goto LABEL_10; } goto LABEL_30; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source