// // StartPosLayer::onSelectMode from 0x10025e1b0 to 0x10025e273 (195 bytes) // // 1 xrefs: // > StartPosLayer::addModeButtons @ 0x10025d50d // // 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:29 +0000 // __int64 __fastcall StartPosLayer::onSelectMode(__int64 a1, __int64 a2) { __int64 v2; // rax int v3; // ebx __int64 v4; // r14 __int64 result; // rax unsigned int v6; // r15d __int64 v7; // rcx _QWORD *v8; // rdi _DWORD *v9; // rsi _QWORD *v10; // rax _DWORD v11[11]; // [rsp+0h] [rbp-2Ch] BYREF v11[0] = HIDWORD(v2); if ( a2 ) { v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); *(_DWORD *)(a1 + 1024) = v3; *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 1016) + 1840LL) + 328LL) = v3; } else { v3 = *(_DWORD *)(a1 + 1024); } v4 = *(_QWORD *)(a1 + 1032); result = sub_1007FEF90(v4); if ( (_DWORD)result ) { v6 = 0; do { v10 = (_QWORD *)sub_1007FEFE0(v4, v6); if ( v3 == v6 ) { v7 = *v10; v8 = v10; v9 = &unk_100A06A06; } else { memset(v11, 125, 3); v7 = *v10; v8 = v10; v9 = v11; } (*(void (__fastcall **)(_QWORD *, _DWORD *))(v7 + 960))(v8, v9); ++v6; result = sub_1007FEF90(v4); } while ( v6 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source