{"type": "func", "start": 4296975176, "end": 4296975284, "name": "DS_Dictionary::getNumKeys", "pseudocode": "// \n// DS_Dictionary::getNumKeys from 0x1001ea348 to 0x1001ea3b4 (108 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::getArrayForKey @ 0x1001eb594\n// \n// This function is hookable on this platform (idp: arm, 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 11:00:35 +0000\n// \n\n__int64 __fastcall DS_Dictionary::getNumKeys(__int64 a1)\n{\n  __int64 i; // x19\n  __int64 v3; // [xsp+0h] [xbp-20h] BYREF\n  __int64 v4; // [xsp+8h] [xbp-18h] BYREF\n\n  v4 = sub_1004525C0(*(_QWORD *)(a1 + 216) - 8LL);\n  for ( i = 0; sub_100452410(&v4); v4 = sub_10045255C(&v3) )\n  {\n    i = (unsigned int)(i + 1);\n    v3 = sub_10045255C(&v4);\n  }\n  return i;\n}", "assembly": "; \n; DS_Dictionary::getNumKeys from 0x1001ea348 to 0x1001ea3b4 (108 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::getArrayForKey @ 0x1001eb594\n; \n; This function is hookable on this platform (idp: arm, 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 11:00:35 +0000\n; \nSUB             SP, SP, #0x30                                          ; +0x0, 0x1001ea348\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001ea34c\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001ea350\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001ea354\nLDR             X8, [X0,#0xD8]                                         ; +0x10, 0x1001ea358\nSUB             X0, X8, #8                                             ; +0x14, 0x1001ea35c\nBL              sub_1004525C0                                          ; +0x18, 0x1001ea360\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x1c, 0x1001ea364\nADD             X0, SP, #0x20+var_18                                   ; +0x20, 0x1001ea368\nBL              sub_100452410                                          ; +0x24, 0x1001ea36c\nMOV             W19, #0                                                ; +0x28, 0x1001ea370\nCBZ             X0, loc_1001EA3A0                                      ; +0x2c, 0x1001ea374\nADD             W19, W19, #1                                           ; +0x30, 0x1001ea378\nADD             X0, SP, #0x20+var_18                                   ; +0x34, 0x1001ea37c\nBL              sub_10045255C                                          ; +0x38, 0x1001ea380\nSTR             X0, [SP,#0x20+var_20]                                  ; +0x3c, 0x1001ea384\nMOV             X0, SP                                                 ; +0x40, 0x1001ea388\nBL              sub_10045255C                                          ; +0x44, 0x1001ea38c\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x48, 0x1001ea390\nADD             X0, SP, #0x20+var_18                                   ; +0x4c, 0x1001ea394\nBL              sub_100452410                                          ; +0x50, 0x1001ea398\nCBNZ            X0, loc_1001EA378                                      ; +0x54, 0x1001ea39c\nMOV             X0, X19                                                ; +0x58, 0x1001ea3a0\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x1001ea3a4\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x1001ea3a8\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x1001ea3ac\nRET                                                                    ; +0x68, 0x1001ea3b0", "xrefs": ["DS_Dictionary::getArrayForKey @ 0x1001eb594"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}