{"type": "func", "start": 4296975284, "end": 4296975428, "name": "DS_Dictionary::getKey", "pseudocode": "// \n// DS_Dictionary::getKey from 0x1001ea3b4 to 0x1001ea444 (144 bytes)\n// \n// 1 xrefs:\n// > DS_Dictionary::getArrayForKey @ 0x1001eb5b8\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_QWORD *__usercall DS_Dictionary::getKey@<X0>(__int64 a1@<X0>, int a2@<W1>, _QWORD *a3@<X8>)\n{\n  _QWORD *result; // x0\n  int v6; // w20\n  char *v7; // x0\n  __int64 v8; // [xsp+0h] [xbp-20h] BYREF\n  __int64 v9; // [xsp+8h] [xbp-18h] BYREF\n\n  v9 = sub_1004525C0(*(_QWORD *)(a1 + 216) - 8LL);\n  result = (_QWORD *)sub_100452410(&v9);\n  if ( result )\n  {\n    v6 = a2 + 1;\n    while ( --v6 )\n    {\n      v8 = sub_10045255C(&v9);\n      v9 = sub_10045255C(&v8);\n      result = (_QWORD *)sub_100452410(&v9);\n      if ( !result )\n        goto LABEL_5;\n    }\n    v7 = (char *)sub_100452574(&v9);\n    return sub_100009900(a3, v7);\n  }\n  else\n  {\nLABEL_5:\n    *a3 = 0;\n    a3[1] = 0;\n    a3[2] = 0;\n  }\n  return result;\n}", "assembly": "; \n; DS_Dictionary::getKey from 0x1001ea3b4 to 0x1001ea444 (144 bytes)\n; \n; 1 xrefs:\n; > DS_Dictionary::getArrayForKey @ 0x1001eb5b8\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, 0x1001ea3b4\nSTP             X20, X19, [SP,#0x20+var_10]                            ; +0x4, 0x1001ea3b8\nSTP             X29, X30, [SP,#0x20+var_s0]                            ; +0x8, 0x1001ea3bc\nADD             X29, SP, #0x20                                         ; +0xc, 0x1001ea3c0\nMOV             X20, X1                                                ; +0x10, 0x1001ea3c4\nMOV             X19, X8                                                ; +0x14, 0x1001ea3c8\nLDR             X8, [X0,#0xD8]                                         ; +0x18, 0x1001ea3cc\nSUB             X0, X8, #8                                             ; +0x1c, 0x1001ea3d0\nBL              sub_1004525C0                                          ; +0x20, 0x1001ea3d4\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x24, 0x1001ea3d8\nADD             X0, SP, #0x20+var_18                                   ; +0x28, 0x1001ea3dc\nBL              sub_100452410                                          ; +0x2c, 0x1001ea3e0\nCBZ             X0, loc_1001EA418                                      ; +0x30, 0x1001ea3e4\nADD             W20, W20, #1                                           ; +0x34, 0x1001ea3e8\nADD             X0, SP, #0x20+var_18                                   ; +0x38, 0x1001ea3ec\nSUBS            W20, W20, #1                                           ; +0x3c, 0x1001ea3f0\nB.EQ            loc_1001EA424                                          ; +0x40, 0x1001ea3f4\nBL              sub_10045255C                                          ; +0x44, 0x1001ea3f8\nSTR             X0, [SP,#0x20+var_20]                                  ; +0x48, 0x1001ea3fc\nMOV             X0, SP                                                 ; +0x4c, 0x1001ea400\nBL              sub_10045255C                                          ; +0x50, 0x1001ea404\nSTR             X0, [SP,#0x20+var_18]                                  ; +0x54, 0x1001ea408\nADD             X0, SP, #0x20+var_18                                   ; +0x58, 0x1001ea40c\nBL              sub_100452410                                          ; +0x5c, 0x1001ea410\nCBNZ            X0, loc_1001EA3EC                                      ; +0x60, 0x1001ea414\nSTP             XZR, XZR, [X19]                                        ; +0x64, 0x1001ea418\nSTR             XZR, [X19,#0x10]                                       ; +0x68, 0x1001ea41c\nB               loc_1001EA434                                          ; +0x6c, 0x1001ea420\nBL              sub_100452574                                          ; +0x70, 0x1001ea424\nMOV             X1, X0; __s                                            ; +0x74, 0x1001ea428\nMOV             X0, X19; int                                           ; +0x78, 0x1001ea42c\nBL              sub_100009900                                          ; +0x7c, 0x1001ea430\nLDP             X29, X30, [SP,#0x20+var_s0]                            ; +0x80, 0x1001ea434\nLDP             X20, X19, [SP,#0x20+var_10]                            ; +0x84, 0x1001ea438\nADD             SP, SP, #0x30 ; '0'                                    ; +0x88, 0x1001ea43c\nRET                                                                    ; +0x8c, 0x1001ea440", "xrefs": ["DS_Dictionary::getArrayForKey @ 0x1001eb5b8"], "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"}