// // SelectFontLayer::onChangeFont from 0x100285640 to 0x1002856d3 (147 bytes) // // 2 xrefs: // > SelectFontLayer::init @ 0x100285429 // > SelectFontLayer::init @ 0x100285508 // // 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:45 +0000 // __int64 __fastcall SelectFontLayer::onChangeFont(__int64 a1, __int64 a2) { int v3; // r14d __int64 result; // rax int v5; // ecx int v6; // r14d __int64 v7; // rdi v3 = *(_DWORD *)(*(_QWORD *)(*(_QWORD *)(a1 + 664) + 3272LL) + 360LL); result = v3 + 2 * (unsigned int)((*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2) == 1) - 1; v5 = 0; if ( (int)result > 0 ) v5 = result; v6 = 59; if ( v5 < 59 ) v6 = v5; if ( v6 != *(_DWORD *)(a1 + 660) ) { v7 = *(_QWORD *)(a1 + 672); if ( v7 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 520LL))(v7); *(_QWORD *)(a1 + 672) = 0; } LevelEditorLayer::updateLevelFont(*(_QWORD *)(a1 + 664), v6); return SelectFontLayer::updateFontLabel(a1); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source