{"type": "func", "start": 4296414756, "end": 4296414864, "name": "DS_Dictionary::getNumKeys", "pseudocode": "// \n// DS_Dictionary::getNumKeys from 0x100161624 to 0x100161690 (108 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::getArrayForKey @ 0x100162754\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; // w19\n  __int64 v3; // [xsp+0h] [xbp-20h] BYREF\n  __int64 v4; // [xsp+8h] [xbp-18h] BYREF\n\n  v4 = sub_1003AB5F8(&a1->dictTree.__end_[-1]);\n  for ( i = 0; sub_1003AB448(&v4); v4 = sub_1003AB594(&v3) )\n  {\n    ++i;\n    v3 = sub_1003AB594(&v4);\n  }\n  return i;\n}", "assembly": "; \n; DS_Dictionary::getNumKeys from 0x100161624 to 0x100161690 (108 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::getArrayForKey @ 0x100162754\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\nSUB             SP, SP, #0x30                                          ; +0x0, 0x100161624\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x100161628\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x10016162c\nADD             X29, SP, #0x20                                         ; +0xc, 0x100161630\nLDR             X8, [X0,#0xD8]                                         ; +0x10, 0x100161634\nSUB             X0, X8, #8                                             ; +0x14, 0x100161638\nBL              sub_1003AB5F8                                          ; +0x18, 0x10016163c\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x1c, 0x100161640\nADD             X0, SP, #0x20+var_18                                   ; +0x20, 0x100161644\nBL              sub_1003AB448                                          ; +0x24, 0x100161648\nMOV             W19, #0                                                ; +0x28, 0x10016164c\nCBZ             X0, loc_10016167C                                      ; +0x2c, 0x100161650\nADD             W19, W19, #1                                           ; +0x30, 0x100161654\nADD             X0, SP, #0x20+var_18                                   ; +0x34, 0x100161658\nBL              sub_1003AB594                                          ; +0x38, 0x10016165c\nSTR             X0, [SP,#0x20+var_20]                                  ; +0x3c, 0x100161660\nMOV             X0, SP                                                 ; +0x40, 0x100161664\nBL              sub_1003AB594                                          ; +0x44, 0x100161668\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x48, 0x10016166c\nADD             X0, SP, #0x20+var_18                                   ; +0x4c, 0x100161670\nBL              sub_1003AB448                                          ; +0x50, 0x100161674\nCBNZ            X0, loc_100161654                                      ; +0x54, 0x100161678\nMOV             X0, X19                                                ; +0x58, 0x10016167c\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x5c, 0x100161680\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x60, 0x100161684\nADD             SP, SP, #0x30 ; '0'                                    ; +0x64, 0x100161688\nRET                                                                    ; +0x68, 0x10016168c", "xrefs": ["DS_Dictionary::getArrayForKey @ 0x100162754"], "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"}