Yes...I see some of the horror is documented for posterity in .adds/koreader/frontend/device/ in the kobo/ and generic/ subfolders.
And the enable/disable wifi scripts in the .adds/koreader/ folder seem to have been adapted (with any lua dependencies stripped), by OfficerAction's qt5-kobo-platform-plugin, which I am guessing are indirectly called by suspendmanager.cpp and Tools.cpp in UltimateMangaReader and Obenkyobo apps respectively. As far as I can tell on my Clara HD the Obenkyobo 0.3.0 app suspends and unsuspends.
https://github.com/Rain92/qt5-kobo-platform-plugin
https://github.com/Rain92/UltimateMangaReader
https://github.com/Aryetis/Obenkyobo