// // GJGameLevel::dtExpandOrder from 0x813c90 to 0x813e18 (392 bytes) // // 22 xrefs: // > GJGameLevel::getSessionBest @ 0x813e48 // > GJGameLevel::rollSession @ 0x85461c // > DeathTrackerPopup::parseGlobal @ 0xcab6dc // > DeathTrackerPopup::countsForScope @ 0xcab8fc // > DeathTrackerPopup::countsForScope @ 0xcab9ac // > DeathTrackerPopup::countsForScope @ 0xcaba14 // > DeathTrackerPopup::countsForScope @ 0xcabad0 // > DeathTrackerPopup::buildHistory @ 0xcae1f0 // > DeathTrackerPopup::buildHistory @ 0xcae20c // > DeathTrackerPopup::buildAttemptLine @ 0xcaf410 // > DeathTrackerPopup::buildAttemptLine @ 0xcaf500 // > DeathTrackerPopup::parseSessions @ 0xcafce4 // > DeathTrackerPopup::buildList @ 0xcb0798 // > DeathTrackerPopup::buildList @ 0xcb0800 // > DeathTrackerPopup::buildList @ 0xcb152c // > DeathTrackerPopup::buildList @ 0xcb15c8 // > DeathTrackerPopup::refreshView @ 0xcb1da0 // > DeathTrackerPopup::refreshView @ 0xcb1e00 // > DeathTrackerPopup::refreshView @ 0xcb27f0 // > DeathTrackerPopup::refreshView @ 0xcb2828 // > DeathTrackerPopup::init @ 0xcb3f94 // > @ 0xd3330 // // This function is hookable on this platform (idp: arm, 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:54:54 +0000 // __int64 __fastcall GJGameLevel::dtExpandOrder(__int64 a1, __int64 a2) { char v4; // w27 unsigned __int64 v5; // x23 unsigned __int64 v6; // x20 __int64 v7; // x25 __int64 v8; // x0 unsigned __int64 v9; // x21 const void *v10; // x27 const char *v11; // x20 int v12; // w27 int i; // w20 int *v14; // x0 char v15; // w27 __int64 v16; // x0 const char *v17; // x27 int v19; // [xsp+64h] [xbp+64h] BYREF v4 = *(_BYTE *)a1; v5 = *(_BYTE *)a1 >> 1; if ( (*(_BYTE *)a1 & 1) != 0 ) v5 = *(_QWORD *)(a1 + 8); if ( v5 ) { v6 = 0; v7 = a1 + 1; v8 = std::string::find(a1, 0x2Cu, 0); if ( v8 == -1 ) v9 = v5; else v9 = v8; if ( (v4 & 1) == 0 ) goto LABEL_21; LABEL_8: v10 = (const void *)(*(_QWORD *)(a1 + 16) + v6); v11 = (const char *)memchr(v10, 120, v9 - v6); v19 = atoi((const char *)v10); if ( !v11 ) goto LABEL_22; while ( 1 ) { v12 = atoi(v11 + 1); if ( v12 <= 0 ) goto LABEL_16; while ( 1 ) { for ( i = 0; i < v12; ++i ) { v14 = *(int **)(a2 + 8); if ( v14 == *(int **)(a2 + 16) ) { std::vector::__push_back_slow_path(a2, &v19); } else { if ( v14 ) { *v14 = v19; v14 = *(int **)(a2 + 8); } *(_QWORD *)(a2 + 8) = v14 + 1; } } LABEL_16: v6 = v9 + 1; if ( v9 + 1 >= v5 ) return _stack_chk_guard; v15 = *(_BYTE *)a1; v16 = std::string::find(a1, 0x2Cu, v9 + 1); if ( v16 == -1 ) v9 = v5; else v9 = v16; if ( (v15 & 1) != 0 ) goto LABEL_8; LABEL_21: v17 = (const char *)(v7 + v6); v11 = (const char *)memchr((const void *)(v7 + v6), 120, v9 - v6); v19 = atoi(v17); if ( v11 ) break; LABEL_22: v12 = 1; } } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source