// // LevelSettingsLayer::onSelectSpeed from 0x100258e60 to 0x100258f78 (280 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:27:27 +0000 // __int64 __fastcall LevelSettingsLayer::onSelectSpeed(__int64 a1, __int64 a2) { __int64 v2; // rax __int64 v3; // r14 int v4; // r15d __int64 result; // rax unsigned int v6; // r14d __int64 v7; // r13 __int64 v8; // rsi __int64 v9; // r12 __int64 v10; // r13 int v11; // [rsp+0h] [rbp-2Ch] BYREF v11 = HIDWORD(v2); if ( a2 ) { v3 = *(_QWORD *)(a1 + 816); *(_DWORD *)(v3 + 332) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); } v4 = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 332LL); result = sub_1007FEF90(*(_QWORD *)(a1 + 840)); if ( (_DWORD)result ) { v6 = 0; do { v9 = sub_1007FEFE0(*(_QWORD *)(a1 + 840), v6); v10 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1072LL))(v9); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v9 + 64LL))(v9) == v4 ) { BYTE2(v11) = -1; LOWORD(v11) = -1; } else { BYTE2(v11) = 0; LOWORD(v11) = 0; } (*(void (__fastcall **)(__int64, int *))(*(_QWORD *)v10 + 960LL))(v10, &v11); v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v9 + 1072LL))(v9); v8 = 85; if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v9 + 64LL))(v9) == v4 ) v8 = 255; (*(void (__fastcall **)(__int64, __int64))(*(_QWORD *)v7 + 912LL))(v7, v8); ++v6; result = sub_1007FEF90(*(_QWORD *)(a1 + 840)); } while ( v6 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source