{"type": "func", "start": 6442556272, "end": 6442556525, "name": "DS_Dictionary::getBoolForKey", "pseudocode": "// \n// DS_Dictionary::getBoolForKey from 0x180019b70 to 0x180019c6d (253 bytes)\n// \n// 5 xrefs:\n// > DS_Dictionary::getDictForKey @ 0x180019e7a\n// > DS_Dictionary::getObjectForKey @ 0x18001a913\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801b8a04\n// > <???> @ 0x1801b8a10\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 11:21:25 +0000\n// \n\nbool __fastcall DS_Dictionary::getBoolForKey(DS_Dictionary *this, const char *a2)\n{\n  bool v2; // zf\n  const char *v4; // r8\n  __int64 v5; // rcx\n  const char *v7; // rax\n  const char *v8; // r8\n  char v10; // bl\n  const char *v11; // rdx\n  const char *v12; // rcx\n  __int64 v13; // [rsp+30h] [rbp+8h] BYREF\n  char v14; // [rsp+40h] [rbp+18h] BYREF\n\n  v2 = *((_BYTE *)this + 232) == 0;\n  v4 = \"k\";\n  v5 = *((_QWORD *)this + 27);\n  if ( !v2 )\n    v4 = \"key\";\n  sub_180082A40(v5 - 8, &v13, v4);\n  if ( !sub_1800823F0(&v13) )\n    return 0;\n  while ( 1 )\n  {\n    v7 = (const char *)sub_180082AC0(&v13);\n    if ( !strcmp(v7, a2) )\n      break;\n    v8 = \"k\";\n    if ( *((_BYTE *)this + 232) )\n      v8 = \"key\";\n    v13 = *(_QWORD *)sub_180084A40(&v13, &v14, v8);\n    if ( !sub_1800823F0(&v13) )\n      return 0;\n  }\n  sub_180084AC0(&v13, &v14);\n  v10 = *((_BYTE *)this + 232);\n  v11 = (const char *)sub_180084A20(&v14);\n  v12 = \"t\";\n  if ( v10 )\n    v12 = \"true\";\n  return !strcmp(v12, v11);\n}", "assembly": "; \n; DS_Dictionary::getBoolForKey from 0x180019b70 to 0x180019c6d (253 bytes)\n; \n; 5 xrefs:\n; > DS_Dictionary::getDictForKey @ 0x180019e7a\n; > DS_Dictionary::getObjectForKey @ 0x18001a913\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801b8a04\n; > <???> @ 0x1801b8a10\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 11:21:25 +0000\n; \nmov     [rsp+arg_8], rbx                                               ; +0x0, 0x180019b70\nmov     [rsp+arg_18], rsi                                              ; +0x5, 0x180019b75\npush    rdi                                                            ; +0xa, 0x180019b7a\nsub     rsp, 20h                                                       ; +0xb, 0x180019b7b\ncmp     byte ptr [rcx+0E8h], 0                                         ; +0xf, 0x180019b7f\nlea     rsi, aKey; \"key\"                                               ; +0x16, 0x180019b86\nmov     rdi, rcx                                                       ; +0x1d, 0x180019b8d\nlea     r8, aK; \"k\"                                                    ; +0x20, 0x180019b90\nmov     rcx, [rcx+0D8h]                                                ; +0x27, 0x180019b97\ncmovnz  r8, rsi                                                        ; +0x2e, 0x180019b9e\nmov     rbx, rdx                                                       ; +0x32, 0x180019ba2\nsub     rcx, 8                                                         ; +0x35, 0x180019ba5\nlea     rdx, [rsp+28h+arg_0]                                           ; +0x39, 0x180019ba9\ncall    sub_180082A40                                                  ; +0x3e, 0x180019bae\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x43, 0x180019bb3\ncall    sub_1800823F0                                                  ; +0x48, 0x180019bb8\ntest    rax, rax                                                       ; +0x4d, 0x180019bbd\njz      short loc_180019C13                                            ; +0x50, 0x180019bc0\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x52, 0x180019bc2\ncall    sub_180082AC0                                                  ; +0x57, 0x180019bc7\nmov     rcx, rax; Str1                                                 ; +0x5c, 0x180019bcc\nmov     rdx, rbx; Str2                                                 ; +0x5f, 0x180019bcf\ncall    strcmp                                                         ; +0x62, 0x180019bd2\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x67, 0x180019bd7\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x6c, 0x180019bdc\ntest    eax, eax                                                       ; +0x71, 0x180019be1\njz      short loc_180019C25                                            ; +0x73, 0x180019be3\ncmp     byte ptr [rdi+0E8h], 0                                         ; +0x75, 0x180019be5\nlea     r8, aK; \"k\"                                                    ; +0x7c, 0x180019bec\ncmovnz  r8, rsi                                                        ; +0x83, 0x180019bf3\ncall    sub_180084A40                                                  ; +0x87, 0x180019bf7\nmov     rcx, [rax]                                                     ; +0x8c, 0x180019bfc\nmov     [rsp+28h+arg_0], rcx                                           ; +0x8f, 0x180019bff\nlea     rcx, [rsp+28h+arg_0]                                           ; +0x94, 0x180019c04\ncall    sub_1800823F0                                                  ; +0x99, 0x180019c09\ntest    rax, rax                                                       ; +0x9e, 0x180019c0e\njnz     short loc_180019BC2                                            ; +0xa1, 0x180019c11\nxor     al, al                                                         ; +0xa3, 0x180019c13\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xa5, 0x180019c15\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xaa, 0x180019c1a\nadd     rsp, 20h                                                       ; +0xaf, 0x180019c1f\npop     rdi                                                            ; +0xb3, 0x180019c23\nretn                                                                   ; +0xb4, 0x180019c24\ncall    sub_180084AC0                                                  ; +0xb5, 0x180019c25\nmovzx   ebx, byte ptr [rdi+0E8h]                                       ; +0xba, 0x180019c2a\nlea     rcx, [rsp+28h+arg_10]                                          ; +0xc1, 0x180019c31\ncall    sub_180084A20                                                  ; +0xc6, 0x180019c36\nmov     rdx, rax; Str2                                                 ; +0xcb, 0x180019c3b\nlea     rcx, aT; \"t\"                                                   ; +0xce, 0x180019c3e\nlea     rax, Str1; \"true\"                                              ; +0xd5, 0x180019c45\ntest    bl, bl                                                         ; +0xdc, 0x180019c4c\ncmovnz  rcx, rax; Str1                                                 ; +0xde, 0x180019c4e\ncall    strcmp                                                         ; +0xe2, 0x180019c52\ntest    eax, eax                                                       ; +0xe7, 0x180019c57\njnz     short loc_180019C13                                            ; +0xe9, 0x180019c59\nmov     rbx, [rsp+28h+arg_8]                                           ; +0xeb, 0x180019c5b\nmov     al, 1                                                          ; +0xf0, 0x180019c60\nmov     rsi, [rsp+28h+arg_18]                                          ; +0xf2, 0x180019c62\nadd     rsp, 20h                                                       ; +0xf7, 0x180019c67\npop     rdi                                                            ; +0xfb, 0x180019c6b\nretn                                                                   ; +0xfc, 0x180019c6c", "xrefs": ["DS_Dictionary::getDictForKey @ 0x180019e7a", "DS_Dictionary::getObjectForKey @ 0x18001a913", "<???> @ 0x18014cf68", "<???> @ 0x1801b8a04", "<???> @ 0x1801b8a10"], "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"}