{"type": "func", "start": 8414420, "end": 8414492, "name": "EditorBuildStats::noteAction", "pseudocode": "// \n// EditorBuildStats::noteAction from 0x8064d4 to 0x80651c (72 bytes)\n// \n// 24 xrefs:\n// > LevelEditorLayer::onPlaytest @ 0x7962b0\n// > LevelEditorLayer::redoLastAction @ 0x7a23f0\n// > LevelEditorLayer::undoLastAction @ 0x7a244c\n// > EditorUI::editGroup @ 0x7c03a0\n// > EditorUI::onDeleteAll @ 0x7c1c94\n// > EditorUI::onDeleteStartPos @ 0x7c1dfc\n// > EditorUI::editObjectSpecial @ 0x7c51cc\n// > EditorUI::editObjectOptions @ 0x7c6120\n// > EditorUI::onDeleteSelectedType @ 0x7c8910\n// > EditorUI::editObject @ 0x7c8b3c\n// > EditorUI::createPrefab @ 0x7c9bc0\n// > EditorUI::onCreateObject @ 0x7ca35c\n// > EditorUI::onCreateObject @ 0x7ca70c\n// > EditorUI::createSmartObjectsFromTemplate @ 0x7cba0c\n// > EditorUI::onDelete @ 0x7d1b6c\n// > EditorUI::onDeleteSelected @ 0x7d1d6c\n// > EditorUI::onDeleteSelected @ 0x7d1db8\n// > SetupSmartBlockLayer::onPasteTemplate @ 0xb15ce0\n// > EditorUI::doPasteObjects @ 0xbd9f58\n// > EditorUI::doPasteInPlace @ 0xbda190\n// > EditorUI::onDuplicate @ 0xbdaad8\n// > EditorUI::transformObjectCall @ 0xc019a0\n// > EditorUI::moveObjectCall @ 0xc02690\n// > <???> @ 0x73630\n// \n// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:54:45 +0000\n// \n\n__int64 __fastcall EditorBuildStats::noteAction(__int64 this)\n{\n  int v1; // w1\n  int v2; // w3\n  int v3; // w1\n  int i; // w2\n\n  v1 = *(_DWORD *)(this + 96);\n  v2 = *(_DWORD *)(this + 32);\n  if ( (v1 & 0x80000000) == 0 )\n  {\n    v3 = v2 - v1;\n    for ( i = 0; i <= 6; ++i )\n    {\n      if ( v3 <= 1 )\n        break;\n      v3 >>= 1;\n    }\n    ++*(_DWORD *)(this + 4LL * i + 64);\n  }\n  *(_DWORD *)(this + 96) = v2;\n  return this;\n}", "assembly": "; \n; EditorBuildStats::noteAction from 0x8064d4 to 0x80651c (72 bytes)\n; \n; 24 xrefs:\n; > LevelEditorLayer::onPlaytest @ 0x7962b0\n; > LevelEditorLayer::redoLastAction @ 0x7a23f0\n; > LevelEditorLayer::undoLastAction @ 0x7a244c\n; > EditorUI::editGroup @ 0x7c03a0\n; > EditorUI::onDeleteAll @ 0x7c1c94\n; > EditorUI::onDeleteStartPos @ 0x7c1dfc\n; > EditorUI::editObjectSpecial @ 0x7c51cc\n; > EditorUI::editObjectOptions @ 0x7c6120\n; > EditorUI::onDeleteSelectedType @ 0x7c8910\n; > EditorUI::editObject @ 0x7c8b3c\n; > EditorUI::createPrefab @ 0x7c9bc0\n; > EditorUI::onCreateObject @ 0x7ca35c\n; > EditorUI::onCreateObject @ 0x7ca70c\n; > EditorUI::createSmartObjectsFromTemplate @ 0x7cba0c\n; > EditorUI::onDelete @ 0x7d1b6c\n; > EditorUI::onDeleteSelected @ 0x7d1d6c\n; > EditorUI::onDeleteSelected @ 0x7d1db8\n; > SetupSmartBlockLayer::onPasteTemplate @ 0xb15ce0\n; > EditorUI::doPasteObjects @ 0xbd9f58\n; > EditorUI::doPasteInPlace @ 0xbda190\n; > EditorUI::onDuplicate @ 0xbdaad8\n; > EditorUI::transformObjectCall @ 0xc019a0\n; > EditorUI::moveObjectCall @ 0xc02690\n; > <???> @ 0x73630\n; \n; This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:54:45 +0000\n; \nLDR             W1, [X0,#0x60]                                         ; +0x0, 0x8064d4\nLDR             W3, [X0,#0x20]                                         ; +0x4, 0x8064d8\nTBNZ            W1, #0x1F, loc_806514                                  ; +0x8, 0x8064dc\nSUB             W1, W3, W1                                             ; +0xc, 0x8064e0\nMOV             W2, #0                                                 ; +0x10, 0x8064e4\nB               loc_8064FC                                             ; +0x14, 0x8064e8\nADD             W2, W2, #1                                             ; +0x18, 0x8064ec\nASR             W1, W1, #1                                             ; +0x1c, 0x8064f0\nCMP             W2, #6                                                 ; +0x20, 0x8064f4\nB.GT            loc_806504                                             ; +0x24, 0x8064f8\nCMP             W1, #1                                                 ; +0x28, 0x8064fc\nB.GT            loc_8064EC                                             ; +0x2c, 0x806500\nADD             X2, X0, W2,SXTW#2                                      ; +0x30, 0x806504\nLDR             W1, [X2,#0x40]                                         ; +0x34, 0x806508\nADD             W1, W1, #1                                             ; +0x38, 0x80650c\nSTR             W1, [X2,#0x40]                                         ; +0x3c, 0x806510\nSTR             W3, [X0,#0x60]                                         ; +0x40, 0x806514\nRET                                                                    ; +0x44, 0x806518", "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"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}