// // GridSettingsLayer::valueDidChange from 0x1004df644 to 0x1004df694 (80 bytes) // // 1 xrefs: // > @ 0x100992310 // // This function is hookable on this platform (idp: arm, 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:06:36 +0000 // __int64 __fastcall GridSettingsLayer::valueDidChange(__int64 result, int a2, float a3) { float v3; // s2 float v4; // s0 if ( a2 == -2 ) { result = *(_QWORD *)(result + 1016); if ( result ) { v3 = 120.0; if ( a3 <= 120.0 ) v3 = a3; if ( a3 >= 5.0 ) v4 = v3; else v4 = 5.0; return sub_100475084(result, v4); } } else if ( a2 == -1 ) { result = *(_QWORD *)(result + 1016); if ( result ) return sub_1004750EC(result, a3 != 0.0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source