// // IDNameBrowserPopup::getFormID from 0x1403c3a20 to 0x1403c3b3a (282 bytes) // // 6 xrefs: // > IDNameBrowserPopup::updateConflictLabel @ 0x1403c3c97 // > IDNameBrowserPopup::onFormArrowLeft @ 0x1403c3f29 // > IDNameBrowserPopup::onFormArrowRight @ 0x1403c3f59 // > IDNameBrowserPopup::onFormArrowRight @ 0x1403c3f6c // > IDNameBrowserPopup::onFormAdd @ 0x1403c4914 // > @ 0x140924104 // // 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:31:29 +0000 // __int64 __fastcall IDNameBrowserPopup::getFormID(__int64 a1) { __int64 result; // rax _BYTE *v2; // rax size_t v3; // r8 int v4; // ebx const char *v5; // rcx char *v6; // rcx char *String[2]; // [rsp+38h] [rbp-30h] BYREF __int64 v8; // [rsp+48h] [rbp-20h] unsigned __int64 v9; // [rsp+50h] [rbp-18h] result = *(_QWORD *)(a1 + 712); if ( result ) { v2 = (_BYTE *)(*(__int64 (__fastcall **)(__int64))(*(_QWORD *)(*(_QWORD *)(result + 592) + 600LL) + 8LL))(*(_QWORD *)(result + 592) + 600LL); v8 = 0; *(_OWORD *)String = 0; v9 = 0; v3 = -1; do ++v3; while ( v2[v3] ); sub_14003D230(String, v2, v3); if ( v8 ) { v5 = (const char *)String; if ( v9 > 0xF ) v5 = String[0]; v4 = atoi(v5); if ( v4 < 0 ) v4 = 0; if ( v4 > 9999 ) v4 = 9999; } else { v4 = 0; } if ( v9 > 0xF ) { v6 = String[0]; if ( v9 + 1 >= 0x1000 ) { v6 = *((char **)String[0] - 1); if ( (unsigned __int64)(String[0] - v6 - 8) > 0x1F ) invoke_watson(nullptr, nullptr, nullptr, 0, 0); } j_j_free(v6); } return (unsigned int)v4; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source