// // GridSettingsLayer::valueDidChange from 0x1402c94e0 to 0x1402c9539 (89 bytes) // // 1 xrefs: // > @ 0x1407669b0 // // 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 11:29:23 +0000 // __int64 __fastcall GridSettingsLayer::valueDidChange(__int64 a1, int a2, float a3) { __int64 v3; // rcx __int64 result; // rax __int64 v5; // rcx float v6; // xmm1_4 if ( a2 == -2 ) { v5 = *(_QWORD *)(a1 + 1000); if ( v5 ) { v6 = 5.0; if ( a3 >= 5.0 ) v6 = fminf(120.0, a3); return EditorUI::setCustomGridNodeSize(v5, v6); } } else if ( a2 == -1 ) { v3 = *(_QWORD *)(a1 + 1000); if ( v3 ) { if ( a3 == 0.0 ) return EditorUI::setCustomGridEnabled(v3, 0); else return EditorUI::setCustomGridEnabled(v3, 1u); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source