{"type": "func", "start": 4296394176, "end": 4296394292, "name": "DS_Dictionary::getNumKeys", "pseudocode": "// \n// DS_Dictionary::getNumKeys from 0x10015c5c0 to 0x10015c634 (116 bytes)\n// \n// 3 xrefs:\n// > CCAnimateFrameCache::addDict_1 @ 0x1005994cd\n// > CCAnimateFrameCache::addDict_1 @ 0x100599558\n// > CCAnimateFrameCache::addDict_1 @ 0x100599783\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 12:25:06 +0000\n// \n\n__int64 __fastcall DS_Dictionary::getNumKeys(__int64 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_1007185E0(*(_QWORD *)(a1 + 216) - 8LL);\n  for ( i = 0; sub_100718020(v4); v4[0] = sub_1007183B0(&v3) )\n  {\n    ++i;\n    v3 = sub_1007183B0(v4);\n  }\n  return i;\n}", "assembly": "; \n; DS_Dictionary::getNumKeys from 0x10015c5c0 to 0x10015c634 (116 bytes)\n; \n; 3 xrefs:\n; > CCAnimateFrameCache::addDict_1 @ 0x1005994cd\n; > CCAnimateFrameCache::addDict_1 @ 0x100599558\n; > CCAnimateFrameCache::addDict_1 @ 0x100599783\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 12:25:06 +0000\n; \npush    rbp                                                            ; +0x0, 0x10015c5c0\nmov     rbp, rsp                                                       ; +0x1, 0x10015c5c1\npush    r15                                                            ; +0x4, 0x10015c5c4\npush    r14                                                            ; +0x6, 0x10015c5c6\npush    rbx                                                            ; +0x8, 0x10015c5c8\nsub     rsp, 18h                                                       ; +0x9, 0x10015c5c9\nmov     rdi, [rdi+0D8h]                                                ; +0xd, 0x10015c5cd\nadd     rdi, 0FFFFFFFFFFFFFFF8h                                        ; +0x14, 0x10015c5d4\ncall    sub_1007185E0                                                  ; +0x18, 0x10015c5d8\nmov     [rbp+var_20], rax                                              ; +0x1d, 0x10015c5dd\nlea     rdi, [rbp+var_20]                                              ; +0x21, 0x10015c5e1\ncall    sub_100718020                                                  ; +0x25, 0x10015c5e5\nxor     ebx, ebx                                                       ; +0x2a, 0x10015c5ea\ntest    rax, rax                                                       ; +0x2c, 0x10015c5ec\njz      short loc_10015C627                                            ; +0x2f, 0x10015c5ef\nlea     r14, [rbp+var_20]                                              ; +0x31, 0x10015c5f1\nlea     r15, [rbp+var_28]                                              ; +0x35, 0x10015c5f5\nnop     dword ptr [rax+00000000h]                                      ; +0x39, 0x10015c5f9\ninc     ebx                                                            ; +0x40, 0x10015c600\nmov     rdi, r14                                                       ; +0x42, 0x10015c602\ncall    sub_1007183B0                                                  ; +0x45, 0x10015c605\nmov     [rbp+var_28], rax                                              ; +0x4a, 0x10015c60a\nmov     rdi, r15                                                       ; +0x4e, 0x10015c60e\ncall    sub_1007183B0                                                  ; +0x51, 0x10015c611\nmov     [rbp+var_20], rax                                              ; +0x56, 0x10015c616\nmov     rdi, r14                                                       ; +0x5a, 0x10015c61a\ncall    sub_100718020                                                  ; +0x5d, 0x10015c61d\ntest    rax, rax                                                       ; +0x62, 0x10015c622\njnz     short loc_10015C600                                            ; +0x65, 0x10015c625\nmov     eax, ebx                                                       ; +0x67, 0x10015c627\nadd     rsp, 18h                                                       ; +0x69, 0x10015c629\npop     rbx                                                            ; +0x6d, 0x10015c62d\npop     r14                                                            ; +0x6e, 0x10015c62e\npop     r15                                                            ; +0x70, 0x10015c630\npop     rbp                                                            ; +0x72, 0x10015c632\nretn                                                                   ; +0x73, 0x10015c633", "xrefs": ["CCAnimateFrameCache::addDict_1 @ 0x1005994cd", "CCAnimateFrameCache::addDict_1 @ 0x100599558", "CCAnimateFrameCache::addDict_1 @ 0x100599783"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}