// // sub_140602550 from 0x140602550 to 0x140602692 (322 bytes) // // 6 xrefs: // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x140602bf6 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x140602c07 // > SetupItemEditTriggerPopup::updateFormulaLabel @ 0x140602c19 // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14060550a // > SetupItemCompareTriggerPopup::updateFormulaLabel @ 0x14060551e // > @ 0x14092f8d0 // // 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 11:35:11 +0000 // // Hidden C++ exception states: #wind=2 void **__fastcall sub_140602550(void **Src, int a2, unsigned int a3) { _BYTE *v6; // rdx size_t v7; // r8 void **v8; // rax void *v9; // rdx _QWORD v11[4]; // [rsp+30h] [rbp-38h] BYREF *(_OWORD *)Src = 0; Src[2] = nullptr; Src[3] = (void *)15; *(_BYTE *)Src = 0; switch ( a2 ) { case 1: case 2: v6 = &unk_140795C94; if ( a2 == 1 ) v6 = &unk_140795C88; v7 = -1; do ++v7; while ( v6[v7] ); sub_1400405A0(Src, v6, v7); v8 = (void **)GameToolbox::intToString(v11, a3); v9 = v8; if ( (unsigned __int64)v8[3] > 0xF ) v9 = *v8; sub_140044D80(Src, v9, (size_t)v8[2]); sub_14003D310((__int64)v11); break; case 3: sub_1400405A0(Src, &dword_1407E5C88, 6u); break; case 4: sub_1400405A0(Src, "MainTime", 8u); break; case 5: sub_1400405A0(Src, "Attempts", 8u); break; default: sub_1400405A0(Src, &word_14070E1CC, 2u); break; } return Src; }
GD Web Decomp Icon

GD Web Decomp

Raw Source