// // DS_Dictionary::getIndexOfKey from 0x18001a2e0 to 0x18001a3a1 (193 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801b8a34 // // 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:21:26 +0000 // __int64 __fastcall DS_Dictionary::getIndexOfKey(DS_Dictionary *this, const char *a2) { const char *v4; // r8 unsigned int v5; // ebx bool v6; // zf __int64 v7; // rcx const char *v8; // rax const char *v9; // r8 __int64 v11; // [rsp+40h] [rbp+8h] BYREF char v12; // [rsp+50h] [rbp+18h] BYREF v4 = "k"; v5 = 0; v6 = *((_BYTE *)this + 232) == 0; v7 = *((_QWORD *)this + 27); if ( !v6 ) v4 = "key"; sub_180082A40(v7 - 8, &v11, v4); if ( !sub_1800823F0(&v11) ) return 0; while ( 1 ) { v8 = (const char *)sub_180082AC0(&v11); if ( !strcmp(v8, a2) ) break; ++v5; v9 = "k"; if ( *((_BYTE *)this + 232) ) v9 = "key"; v11 = *(_QWORD *)sub_180084A40(&v11, &v12, v9); if ( !sub_1800823F0(&v11) ) return 0; } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source