//
// EditorWindowPopup::setLockAspectRatio from 0x78bd34 to 0x78bd56 (34 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:37 +0000
//
int __fastcall EditorWindowPopup::setLockAspectRatio(int this, int a2)
{
float v2; // s14
*(_BYTE *)(this + 796) = a2;
if ( a2 )
{
v2 = *(float *)(this + 736);
if ( v2 > 0.0 )
*(float *)(this + 800) = *(float *)(this + 732) / v2;
}
return this;
}