// // EditorUI::adjustCustomGridSize from 0x10000e200 to 0x10000e2b9 (185 bytes) // // 2 xrefs: // > EditorUI::handleEditorAction @ 0x10060cd13 // > EditorUI::handleEditorAction @ 0x10060cd3d // // 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:18:50 +0000 // __int64 __fastcall EditorUI::adjustCustomGridSize(__int64 a1, __int64 a2, __int64 a3) { float v4; // xmm0_4 float v5; // xmm1_4 __int64 v6; // rax __int64 v7; // rdx __int64 v8; // rdi __int64 v9; // rdi __int64 v10; // rdx float v11; // xmm0_4 if ( *(_BYTE *)(a1 + 656) ) { v4 = (float)(int)a2 + *(float *)(a1 + 652); v5 = 0.0; if ( v4 > 0.0 ) v5 = fmaxf(fminf(v4, 300.0), 5.0); *(float *)(a1 + 652) = v5; v6 = GameManager::sharedState(a1, a2, a3); v7 = (unsigned int)(int)(float)(v5 * 10.0); v8 = v6; } else { *(_BYTE *)(a1 + 656) = 1; v9 = GameManager::sharedState(a1, a2, a3); GameManager::setGameVariable(v9, "0194", 1); *(_DWORD *)(a1 + 652) = 1106247680; v8 = GameManager::sharedState(v9, "0194", v10); v7 = 300; } v11 = GameManager::setIntGameVariable(v8, "0193", v7); return EditorUI::updateGridNodeSize_1(a1, v11); }
GD Web Decomp Icon

GD Web Decomp

Raw Source