//
// EditorBuildStats::noteAction from 0x4ab9de to 0x4aba08 (42 bytes)
//
// 23 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x4681cc
// > LevelEditorLayer::redoLastAction @ 0x46f440
// > LevelEditorLayer::undoLastAction @ 0x46f476
// > EditorUI::onDeleteAll @ 0x481d78
// > EditorUI::onDeleteStartPos @ 0x481e48
// > EditorUI::editObjectSpecial @ 0x483998
// > EditorUI::editObjectOptions @ 0x4842c4
// > EditorUI::editGroup @ 0x48578e
// > EditorUI::onDeleteSelectedType @ 0x486508
// > EditorUI::editObject @ 0x48664a
// > EditorUI::createPrefab @ 0x486fe6
// > EditorUI::onCreateObject @ 0x48742a
// > EditorUI::onCreateObject @ 0x48754a
// > EditorUI::createSmartObjectsFromTemplate @ 0x487cf2
// > EditorUI::onDelete @ 0x48c628
// > EditorUI::onDeleteSelected @ 0x48c852
// > EditorUI::onDeleteSelected @ 0x48c904
// > SetupSmartBlockLayer::onPasteTemplate @ 0x673a16
// > EditorUI::doPasteObjects @ 0x6f32a8
// > EditorUI::doPasteInPlace @ 0x6f33e6
// > EditorUI::onDuplicate @ 0x6f3a48
// > EditorUI::transformObjectCall @ 0x70e40a
// > EditorUI::moveObjectCall @ 0x70ecbe
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:49:58 +0000
//
int __fastcall EditorBuildStats::noteAction(int this)
{
int v1; // r2
int v2; // r2
int i; // r3
v1 = *(_DWORD *)(this + 96);
if ( v1 >= 0 )
{
v2 = *(_DWORD *)(this + 32) - v1;
for ( i = 0; v2 > 1 && i != 7; ++i )
v2 >>= 1;
++*(_DWORD *)(this + 4 * i + 64);
}
*(_DWORD *)(this + 96) = *(_DWORD *)(this + 32);
return this;
}