//
// EditorBuildStats::noteAction from 0x8064d4 to 0x80651c (72 bytes)
//
// 24 xrefs:
// > LevelEditorLayer::onPlaytest @ 0x7962b0
// > LevelEditorLayer::redoLastAction @ 0x7a23f0
// > LevelEditorLayer::undoLastAction @ 0x7a244c
// > EditorUI::editGroup @ 0x7c03a0
// > EditorUI::onDeleteAll @ 0x7c1c94
// > EditorUI::onDeleteStartPos @ 0x7c1dfc
// > EditorUI::editObjectSpecial @ 0x7c51cc
// > EditorUI::editObjectOptions @ 0x7c6120
// > EditorUI::onDeleteSelectedType @ 0x7c8910
// > EditorUI::editObject @ 0x7c8b3c
// > EditorUI::createPrefab @ 0x7c9bc0
// > EditorUI::onCreateObject @ 0x7ca35c
// > EditorUI::onCreateObject @ 0x7ca70c
// > EditorUI::createSmartObjectsFromTemplate @ 0x7cba0c
// > EditorUI::onDelete @ 0x7d1b6c
// > EditorUI::onDeleteSelected @ 0x7d1d6c
// > EditorUI::onDeleteSelected @ 0x7d1db8
// > SetupSmartBlockLayer::onPasteTemplate @ 0xb15ce0
// > EditorUI::doPasteObjects @ 0xbd9f58
// > EditorUI::doPasteInPlace @ 0xbda190
// > EditorUI::onDuplicate @ 0xbdaad8
// > EditorUI::transformObjectCall @ 0xc019a0
// > EditorUI::moveObjectCall @ 0xc02690
// > ??> @ 0x73630
//
// 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 12:54:45 +0000
//
__int64 __fastcall EditorBuildStats::noteAction(__int64 this)
{
int v1; // w1
int v2; // w3
int v3; // w1
int i; // w2
v1 = *(_DWORD *)(this + 96);
v2 = *(_DWORD *)(this + 32);
if ( (v1 & 0x80000000) == 0 )
{
v3 = v2 - v1;
for ( i = 0; i <= 6; ++i )
{
if ( v3 <= 1 )
break;
v3 >>= 1;
}
++*(_DWORD *)(this + 4LL * i + 64);
}
*(_DWORD *)(this + 96) = v2;
return this;
}