// // SetupCameraModePopup::updateItemVisibility from 0x1004a29f0 to 0x1004a2a9b (171 bytes) // // 3 xrefs: // > SetupCameraModePopup::init @ 0x1004a24ed // > sub_1004A25A0 @ 0x1004a2617 // > sub_1004A2620 @ 0x1004a277a // // This function is hookable on this platform (idp: pc, 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:30:53 +0000 // __int64 __fastcall SetupCameraModePopup::updateItemVisibility(__int64 a1) { unsigned int v1; // r14d __int64 v2; // rax __int64 result; // rax unsigned int v4; // r14d __int64 v5; // rax if ( (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 1016)) ) { v1 = 0; do { v2 = sub_1007FEFE0(*(_QWORD *)(a1 + 1016), v1); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, *(unsigned __int8 *)(a1 + 1076)); ++v1; } while ( v1 < (unsigned int)sub_1007FEF90(*(_QWORD *)(a1 + 1016)) ); } result = sub_1007FEF90(*(_QWORD *)(a1 + 1024)); if ( (_DWORD)result ) { v4 = 0; do { v5 = sub_1007FEFE0(*(_QWORD *)(a1 + 1024), v4); (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v5 + 344LL))(v5, *(unsigned __int8 *)(a1 + 1077)); ++v4; result = sub_1007FEF90(*(_QWORD *)(a1 + 1024)); } while ( v4 < (unsigned int)result ); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source