// // EditButtonBar::updateDotState from 0x1004a3864 to 0x1004a39d0 (364 bytes) // // 2 xrefs: // > EditButtonBar::loadFromItems @ 0x1004a3620 // > EditButtonBar::goToPage @ 0x1004a3a1c // // 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 11:06:03 +0000 // __int64 __fastcall EditButtonBar::updateDotState(__int64 result) { __int64 v1; // x20 int RelativePageForNum; // w19 _QWORD *v3; // x22 __int64 v4; // x21 unsigned __int64 i; // x23 __int64 v6; // x21 __int64 v7; // x20 __int16 v8; // [xsp+8h] [xbp-58h] BYREF char v9; // [xsp+Ah] [xbp-56h] __int16 v10; // [xsp+Ch] [xbp-54h] BYREF char v11; // [xsp+Eh] [xbp-52h] if ( *(_QWORD *)(result + 360) ) { v1 = result; result = *(_QWORD *)(result + 344); if ( result ) { RelativePageForNum = BoomScrollLayer::getRelativePageForNum(result, *(_DWORD *)(result + 588)); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 360) + 488LL))(*(_QWORD *)(v1 + 360)); if ( result ) { result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 360) + 488LL))(*(_QWORD *)(v1 + 360)); if ( **(_DWORD **)(result + 56) ) { v3 = *(_QWORD **)(*(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 360) + 488LL))(*(_QWORD *)(v1 + 360)) + 56) + 16LL); v4 = *(_QWORD *)(*(_QWORD *)((*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 360) + 488LL))(*(_QWORD *)(v1 + 360)) + 56) + 16LL); result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 360) + 488LL))(*(_QWORD *)(v1 + 360)); for ( i = v4 + 8LL * **(unsigned int **)(result + 56) - 8; (unsigned __int64)v3 <= i; ++v3 ) { v6 = *v3; if ( !*v3 ) break; v7 = (*(__int64 (__fastcall **)(_QWORD))(*(_QWORD *)v6 + 1072LL))(*v3); if ( (*(unsigned int (__fastcall **)(__int64))(*(_QWORD *)v6 + 64LL))(v6) == RelativePageForNum ) { v11 = -1; v10 = -1; result = (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 960LL))(v7, &v10); } else { v9 = -106; v8 = -26986; result = (*(__int64 (__fastcall **)(__int64, __int16 *))(*(_QWORD *)v7 + 960LL))(v7, &v8); } } } } } } return result; }