{"type": "func", "start": 6442559952, "end": 6442560061, "name": "DS_Dictionary::getNumKeys", "pseudocode": "// \n// DS_Dictionary::getNumKeys from 0x18001a9d0 to 0x18001aa3d (109 bytes)\n// \n// 3 xrefs:\n// > DS_Dictionary::getArrayForKey @ 0x180019d78\n// > <???> @ 0x1801438a8\n// > <???> @ 0x1801aea10\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 __fastcall DS_Dictionary::getNumKeys(DS_Dictionary *this)\n{\n  unsigned int v1; // ebx\n  __int64 v2; // rax\n  __int64 v4; // [rsp+30h] [rbp+8h] BYREF\n  char v5; // [rsp+38h] [rbp+10h] BYREF\n  char v6; // [rsp+40h] [rbp+18h] BYREF\n\n  v1 = 0;\n  sub_180080CF0(&this->dictTree._Mypair._Myval2._Mylast[-1], &v4);\n  for ( ; sub_18007F4E0(&v4); v4 = *(_QWORD *)sub_180081AB0(v2, &v6) )\n  {\n    ++v1;\n    v2 = sub_180081AB0(&v4, &v5);\n  }\n  return v1;\n}", "assembly": "; \n; DS_Dictionary::getNumKeys from 0x18001a9d0 to 0x18001aa3d (109 bytes)\n; \n; 3 xrefs:\n; > DS_Dictionary::getArrayForKey @ 0x180019d78\n; > <???> @ 0x1801438a8\n; > <???> @ 0x1801aea10\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbx                                                            ; +0x0, 0x18001a9d0\nsub     rsp, 20h                                                       ; +0x2, 0x18001a9d2\nmov     rcx, [rcx+0D8h]                                                ; +0x6, 0x18001a9d6\nlea     rdx, [rsp+28h+arg_0]                                           ; +0xd, 0x18001a9dd\nsub     rcx, 8                                                         ; +0x12, 0x18001a9e2\nxor     ebx, ebx                                                       ; +0x16, 0x18001a9e6\ncall    sub_180080CF0                                                  ; +0x18, 0x18001a9e8\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x1d, 0x18001a9ed\ncall    sub_18007F4E0                                                  ; +0x22, 0x18001a9f2\ntest    rax, rax                                                       ; +0x27, 0x18001a9f7\njz      short loc_18001AA35                                            ; +0x2a, 0x18001a9fa\nnop     dword ptr [rax+00h]                                            ; +0x2c, 0x18001a9fc\nlea     rdx, [rsp+28h+arg_8]                                           ; +0x30, 0x18001aa00\ninc     ebx                                                            ; +0x35, 0x18001aa05\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x37, 0x18001aa07\ncall    sub_180081AB0                                                  ; +0x3c, 0x18001aa0c\nmov     rcx, rax                                                       ; +0x41, 0x18001aa11\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x44, 0x18001aa14\ncall    sub_180081AB0                                                  ; +0x49, 0x18001aa19\nmov     rcx, [rax]                                                     ; +0x4e, 0x18001aa1e\nmov     [rsp+28h+arg_0], rcx                                           ; +0x51, 0x18001aa21\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x56, 0x18001aa26\ncall    sub_18007F4E0                                                  ; +0x5b, 0x18001aa2b\ntest    rax, rax                                                       ; +0x60, 0x18001aa30\njnz     short loc_18001AA00                                            ; +0x63, 0x18001aa33\nmov     eax, ebx                                                       ; +0x65, 0x18001aa35\nadd     rsp, 20h                                                       ; +0x67, 0x18001aa37\npop     rbx                                                            ; +0x6b, 0x18001aa3b\nretn                                                                   ; +0x6c, 0x18001aa3c", "xrefs": ["DS_Dictionary::getArrayForKey @ 0x180019d78", "<???> @ 0x1801438a8", "<???> @ 0x1801aea10"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}