// // sub_100526568 from 0x100526568 to 0x10052661c (180 bytes) // // 3 xrefs: // > ScrollableContentLayer::updateSectionVisibility @ 0x1005250e0 // > ScrollableContentLayer::updateSectionVisibility @ 0x100525104 // > sub_100525FB0 @ 0x100525fe0 // // 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:07:15 +0000 // void __fastcall sub_100526568(_QWORD *a1, int a2) { __int64 v2; // x8 _QWORD *v4; // x20 __int64 v5; // x0 v2 = a1[81]; if ( v2 ) { v4 = a1 + 81; do { if ( *(_DWORD *)(v2 + 32) >= a2 ) v4 = (_QWORD *)v2; v2 = *(_QWORD *)(v2 + 8LL * (*(_DWORD *)(v2 + 32) < a2)); } while ( v2 ); if ( v4 != a1 + 81 && *((_DWORD *)v4 + 8) <= a2 ) { if ( a1[72] == v4[6] ) a1[72] = 0; v5 = a1[74]; if ( v5 ) (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 24LL))(v5); (*(void (__fastcall **)(_QWORD, __int64))(*(_QWORD *)v4[5] + 528LL))(v4[5], 1); sub_10001C814(a1 + 80, v4); operator delete(v4); } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source