// // EditorBuildStats::noteAction from 0x1000d12cc to 0x1000d1324 (88 bytes) // // 22 xrefs: // > SetupSmartBlockLayer::onPasteTemplate @ 0x1000786fc // > EditorUI::moveObjectCall_1 @ 0x10015cdb8 // > EditorUI::transformObjectCall_1 @ 0x10015d4c8 // > EditorUI::onDuplicate @ 0x100189c40 // > EditorUI::doPasteObjects @ 0x10018abec // > LevelEditorLayer::redoLastAction @ 0x1003fc5e0 // > LevelEditorLayer::undoLastAction @ 0x1003fc638 // > LevelEditorLayer::onPlaytest @ 0x10040461c // > EditorUI::onDeleteSelected @ 0x100471050 // > EditorUI::onDeleteSelected @ 0x10047115c // > EditorUI::editObject @ 0x100471d10 // > EditorUI::editGroup @ 0x100472b24 // > EditorUI::onDelete @ 0x1004743b8 // > sub_10047651C @ 0x100476554 // > EditorUI::onDeleteSelectedType @ 0x1004765cc // > EditorUI::onDeleteStartPos @ 0x10047664c // > EditorUI::onCreateObject @ 0x1004772f0 // > EditorUI::onCreateObject @ 0x100477478 // > EditorUI::createSmartObjectsFromTemplate @ 0x100478e30 // > sub_1004796B4 @ 0x1004796f4 // > EditorUI::editObjectSpecial @ 0x10047c180 // > EditorUI::editObjectOptions @ 0x10047cc08 // // 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 10:58:54 +0000 // __int64 __fastcall EditorBuildStats::noteAction(__int64 result) { int v1; // w9 int v2; // w8 int v3; // w9 __int64 v4; // x11 __int64 v5; // x10 v1 = *(_DWORD *)(result + 96); v2 = *(_DWORD *)(result + 32); if ( (v1 & 0x80000000) == 0 ) { v3 = v2 - v1; if ( v3 < 2 ) { v5 = 0; } else { v4 = 0; do { v5 = v4 + 1; if ( (unsigned int)v3 < 4 ) break; v3 = (unsigned int)v3 >> 1; } while ( (unsigned int)v4++ < 6 ); } ++*(_DWORD *)(result + 4 * v5 + 64); } *(_DWORD *)(result + 96) = v2; return result; }