// // EditorUI::showGridSizeAlert from 0x1004752dc to 0x1004753d0 (244 bytes) // // 1 xrefs: // > EditorUI::handleEditorAction @ 0x1001636ac // // 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:05:40 +0000 // void __fastcall EditorUI::showGridSizeAlert(__int64 a1) { float v2; // s0 std::string __p; // [xsp+10h] [xbp-50h] BYREF char __s[32]; // [xsp+28h] [xbp-38h] BYREF if ( *(_BYTE *)(a1 + 656) == 1 && (v2 = *(float *)(a1 + 652), v2 > 0.0) ) { if ( v2 == (float)(int)v2 ) sprintf(__s, "Gridsize: %d"); else sprintf(__s, "Gridsize: %.1f"); } else { strcpy(__s, "Gridsize: Off"); } sub_100009900(&__p, __s); EditorUI::showTextAlert(a1, &__p, 0, 1, 0); if ( SHIBYTE(__p.__r_.__value_.__r.__words[2]) < 0 ) operator delete(__p.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source