{"type": "func", "start": 4296528336, "end": 4296528452, "name": "DS_Dictionary::getNumKeys", "pseudocode": "// \n// DS_Dictionary::getNumKeys from 0x10017d1d0 to 0x10017d244 (116 bytes)\n// \n// 3 xrefs:\n// > CCAnimateFrameCache::addDict_1 @ 0x10056c40d\n// > CCAnimateFrameCache::addDict_1 @ 0x10056c498\n// > CCAnimateFrameCache::addDict_1 @ 0x10056c6c3\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\nunsigned int __fastcall DS_Dictionary::getNumKeys(DS_Dictionary *a1)\n{\n  unsigned int i; // ebx\n  __int64 v3; // [rsp+8h] [rbp-28h] BYREF\n  _QWORD v4[4]; // [rsp+10h] [rbp-20h] BYREF\n\n  v4[0] = sub_10063B9B0(&a1->dictTree.__end_[-1]);\n  for ( i = 0; sub_10063B3F0(v4); v4[0] = sub_10063B780(&v3) )\n  {\n    ++i;\n    v3 = sub_10063B780(v4);\n  }\n  return i;\n}", "assembly": "; \n; DS_Dictionary::getNumKeys from 0x10017d1d0 to 0x10017d244 (116 bytes)\n; \n; 3 xrefs:\n; > CCAnimateFrameCache::addDict_1 @ 0x10056c40d\n; > CCAnimateFrameCache::addDict_1 @ 0x10056c498\n; > CCAnimateFrameCache::addDict_1 @ 0x10056c6c3\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    rbp                                                            ; +0x0, 0x10017d1d0\nmov     rbp, rsp                                                       ; +0x1, 0x10017d1d1\npush    r15                                                            ; +0x4, 0x10017d1d4\npush    r14                                                            ; +0x6, 0x10017d1d6\npush    rbx                                                            ; +0x8, 0x10017d1d8\nsub     rsp, 18h                                                       ; +0x9, 0x10017d1d9\nmov     rdi, [rdi+0D8h]                                                ; +0xd, 0x10017d1dd\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0x14, 0x10017d1e4\ncall    sub_10063B9B0                                                  ; +0x18, 0x10017d1e8\nmov     [rbp+var_20], rax                                              ; +0x1d, 0x10017d1ed\nlea     rdi, [rbp+var_20]                                              ; +0x21, 0x10017d1f1\ncall    sub_10063B3F0                                                  ; +0x25, 0x10017d1f5\nxor     ebx, ebx                                                       ; +0x2a, 0x10017d1fa\ntest    rax, rax                                                       ; +0x2c, 0x10017d1fc\njz      short loc_10017D237                                            ; +0x2f, 0x10017d1ff\nlea     r14, [rbp+var_20]                                              ; +0x31, 0x10017d201\nlea     r15, [rbp+var_28]                                              ; +0x35, 0x10017d205\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x10017d209\ninc     ebx                                                            ; +0x40, 0x10017d210\nmov     rdi, r14                                                       ; +0x42, 0x10017d212\ncall    sub_10063B780                                                  ; +0x45, 0x10017d215\nmov     [rbp+var_28], rax                                              ; +0x4a, 0x10017d21a\nmov     rdi, r15                                                       ; +0x4e, 0x10017d21e\ncall    sub_10063B780                                                  ; +0x51, 0x10017d221\nmov     [rbp+var_20], rax                                              ; +0x56, 0x10017d226\nmov     rdi, r14                                                       ; +0x5a, 0x10017d22a\ncall    sub_10063B3F0                                                  ; +0x5d, 0x10017d22d\ntest    rax, rax                                                       ; +0x62, 0x10017d232\njnz     short loc_10017D210                                            ; +0x65, 0x10017d235\nmov     eax, ebx                                                       ; +0x67, 0x10017d237\nadd     rsp, 18h                                                       ; +0x69, 0x10017d239\npop     rbx                                                            ; +0x6d, 0x10017d23d\npop     r14                                                            ; +0x6e, 0x10017d23e\npop     r15                                                            ; +0x70, 0x10017d240\npop     rbp                                                            ; +0x72, 0x10017d242\nretn                                                                   ; +0x73, 0x10017d243", "xrefs": ["CCAnimateFrameCache::addDict_1 @ 0x10056c40d", "CCAnimateFrameCache::addDict_1 @ 0x10056c498", "CCAnimateFrameCache::addDict_1 @ 0x10056c6c3"], "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"}