//
// DS_Dictionary::getNumKeys from 0x18001a780 to 0x18001a7ed (109 bytes)
//
// 3 xrefs:
// > DS_Dictionary::getArrayForKey @ 0x180019a78
// > ??> @ 0x18014cf68
// > ??> @ 0x1801b8a64
//
// 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::getNumKeys(DS_Dictionary *this)
{
unsigned int v1; // ebx
__int64 v2; // rax
__int64 v4; // [rsp+30h] [rbp+8h] BYREF
char v5; // [rsp+38h] [rbp+10h] BYREF
char v6; // [rsp+40h] [rbp+18h] BYREF
v1 = 0;
sub_180083CE0(*((_QWORD *)this + 27) - 8LL, &v4);
for ( ; sub_1800823F0(&v4); v4 = *(_QWORD *)sub_180084AC0(v2, &v6) )
{
++v1;
v2 = sub_180084AC0(&v4, &v5);
}
return v1;
}