// // LevelSettingsLayer::onSelectMode from 0x100258da0 to 0x100258e57 (183 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::onSelectMode(__int64 a1, __int64 a2) { __int64 v2; // r14 int v3; // r12d __int64 result; // rax unsigned int v5; // r14d __int64 v6; // r15 int v7; // eax int v8; // eax if ( a2 ) { v2 = *(_QWORD *)(a1 + 816); *(_DWORD *)(v2 + 328) = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); } v3 = *(_DWORD *)(*(_QWORD *)(a1 + 816) + 328LL); result = sub_1007FEF90(*(_QWORD *)(a1 + 832)); if ( (_DWORD)result ) { v5 = 0; do { v6 = sub_1007FEFE0(*(_QWORD *)(a1 + 832), v5); v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6); CCMenuItemToggler::toggle(v6, v7 == v3); v8 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6); (*(void (__fastcall **)(__int64, bool))(*(_QWORD *)v6 + 1056LL))(v6, v8 != v3); ++v5; result = sub_1007FEF90(*(_QWORD *)(a1 + 832)); } while ( v5 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source