// // sub_1005301B0 from 0x1005301b0 to 0x1005302a4 (244 bytes) // // 1 xrefs: // > AutoBackupPopup::init @ 0x10052ffd4 // // 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:20 +0000 // __int64 __fastcall sub_1005301B0(__int64 result) { __int64 v1; // x23 __int64 v2; // x24 __int64 v3; // x19 int v4; // w20 _OWORD *v5; // x21 __int64 v6; // x8 __int64 v7; // x21 unsigned __int64 v8; // x22 unsigned __int64 v9; // x23 __int64 v10; // x8 v1 = *(_QWORD *)(result + 848); v2 = *(_QWORD *)(result + 856); if ( v1 != v2 ) { v3 = result; v4 = *(_DWORD *)(result + 960); v5 = (_OWORD *)(result + 952); sub_1000D8D9C(result + 944, *(char **)(result + 952)); *(_QWORD *)(v3 + 944) = v5; *v5 = 0u; v6 = *(_QWORD *)(v3 + 848); if ( *(_QWORD *)(v3 + 856) != v6 ) { v7 = 0; v8 = 0; v9 = (unsigned __int64)(v2 - v1) >> 7; do { if ( v4 != (_DWORD)v9 ) sub_1000D8F30((__int64 **)(v3 + 944), v6 + v7, v6 + v7); v10 = *(_QWORD *)(v3 + 968); if ( v8 < (*(_QWORD *)(v3 + 976) - v10) >> 3 ) CCMenuItemToggler::toggle(*(_QWORD *)(v10 + 8 * v8), v4 != (_DWORD)v9); ++v8; v6 = *(_QWORD *)(v3 + 848); v7 += 128; } while ( v8 < (*(_QWORD *)(v3 + 856) - v6) >> 7 ); } result = *(_QWORD *)(v3 + 992); if ( result ) return sub_10037E57C(result, *(_DWORD *)(v3 + 960)); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source