// // SetupGradientPopup::updateToggleItem from 0x1006c5fd0 to 0x1006c60d5 (261 bytes) // // 1 xrefs: // > @ 0x100b8e728 // // 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:35:33 +0000 // __int64 __fastcall SetupGradientPopup::updateToggleItem(__int64 a1, int a2, unsigned __int8 a3) { __int64 result; // rax const char *v5; // rcx const char *v6; // rcx const char *v7; // r13 const char *v8; // r15 unsigned int v9; // r14d const char *v10; // rsi __int64 v11; // rax const char *v12; // [rsp+8h] [rbp-38h] const char *v13; // [rsp+10h] [rbp-30h] result = SetupTriggerPopup::updateToggleItem(a1, a2, a3); if ( a2 == 207 ) { result = sub_1007FEF90(*(_QWORD *)(a1 + 1048)); if ( (_DWORD)result ) { v5 = "R:"; if ( a3 ) v5 = "TR:"; v12 = v5; v6 = "L:"; if ( a3 ) v6 = "TL:"; v13 = v6; v7 = "D:"; if ( a3 ) v7 = "BR:"; v8 = "U:"; if ( a3 ) v8 = "BL:"; v9 = 0; do { v11 = sub_1007FEFE0(*(_QWORD *)(a1 + 1048), v9); v10 = v8; switch ( v9 ) { case 0u: goto LABEL_13; case 1u: v10 = v7; goto LABEL_13; case 2u: v10 = v13; goto LABEL_13; case 3u: v10 = v12; LABEL_13: (*(void (__fastcall **)(__int64, const char *))(*(_QWORD *)v11 + 928LL))(v11, v10); break; default: break; } ++v9; result = sub_1007FEF90(*(_QWORD *)(a1 + 1048)); } while ( v9 < (unsigned int)result ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source