{"type": "func", "start": 5370950432, "end": 5370951488, "name": "GameLevelManager::writePlatformerSaveJournal", "pseudocode": "// \n// GameLevelManager::writePlatformerSaveJournal from 0x140223320 to 0x140223740 (1056 bytes)\n// \n// 2 xrefs:\n// > PlayLayer::onQuit @ 0x14051b114\n// > <???> @ 0x14091bc98\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:28:25 +0000\n// \n\n// Hidden C++ exception states: #wind=6\nvoid __fastcall GameLevelManager::writePlatformerSaveJournal(__int64 a1, __int64 a2)\n{\n  unsigned __int64 v3; // rbx\n  int v4; // r14d\n  _Mtx_t v5; // r15\n  DS_Dictionary *v6; // rdi\n  const char *v7; // rdx\n  const char *v8; // rdx\n  void **v9; // rax\n  void **v10; // r8\n  char v11; // r14\n  void *v12; // rcx\n  __int64 v13; // rcx\n  __int64 v14; // rax\n  int v15; // r8d\n  _QWORD *v16; // rax\n  DS_Dictionary *v17; // [rsp+30h] [rbp-59h]\n  DS_Dictionary *v18; // [rsp+30h] [rbp-59h]\n  _QWORD v19[2]; // [rsp+40h] [rbp-49h] BYREF\n  unsigned __int64 v20; // [rsp+50h] [rbp-39h]\n  unsigned __int64 v21; // [rsp+58h] [rbp-31h]\n  void *Block[2]; // [rsp+60h] [rbp-29h] BYREF\n  __int64 v23; // [rsp+70h] [rbp-19h]\n  unsigned __int64 v24; // [rsp+78h] [rbp-11h]\n  _BYTE v25[32]; // [rsp+80h] [rbp-9h] BYREF\n  void *Src[4]; // [rsp+A0h] [rbp+17h] BYREF\n\n  if ( a2 )\n  {\n    v3 = 0;\n    v4 = *(_DWORD *)(a2 + 1220);\n    if ( v4 == 2 || v4 == 3 && *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332) > 0 )\n    {\n      if ( *(_QWORD *)(a2 + 1648) )\n      {\n        v5 = qword_14090A8C8;\n        if ( Mtx_lock(qword_14090A8C8) )\n        {\n          std::_Throw_Cpp_error(5);\n          __debugbreak();\n        }\n        if ( *((_DWORD *)v5 + 19) == 0x7FFFFFFF )\n        {\n          *((_DWORD *)v5 + 19) = 2147483646;\n          std::_Throw_Cpp_error(6);\n        }\n        v17 = (DS_Dictionary *)operator new(0xF0u);\n        v6 = DS_Dictionary::DS_Dictionary(v17);\n        if ( !sub_140222A60((__int64)v6) )\n        {\n          if ( v6 )\n          {\n            DS_Dictionary::~DS_Dictionary(v6);\n            j_j_free(v6);\n          }\n          v18 = (DS_Dictionary *)operator new(0xF0u);\n          v6 = DS_Dictionary::DS_Dictionary(v18);\n        }\n        sub_140222BE0((__int64)v19, a2);\n        v7 = (const char *)v19;\n        if ( v21 > 0xF )\n          v7 = (const char *)v19[0];\n        DS_Dictionary::removeKey(v6, v7);\n        v8 = (const char *)v19;\n        if ( v21 > 0xF )\n          v8 = (const char *)v19[0];\n        DS_Dictionary::setSubDictForKey(v6, v8, 0, 1);\n        DS_Dictionary::setIntegerForKey(v6, \"t\", v4);\n        DS_Dictionary::setIntegerForKey(v6, \"id\", *(_DWORD *)(a2 + 328) - *(_DWORD *)(a2 + 332));\n        DS_Dictionary::setIntegerForKey(v6, \"did\", *(_DWORD *)(a2 + 992) - *(_DWORD *)(a2 + 996));\n        DS_Dictionary::setBoolForKey(v6, \"g\", *(_BYTE *)(a2 + 721));\n        if ( v4 == 2 )\n        {\n          if ( !*(_QWORD *)(a2 + 1608) )\n          {\n            v9 = GameToolbox::gen_random(Src, 0x10u);\n            sub_140059C40(a2 + 1592, (__int64)v9);\n            sub_14003D310((__int64)Src);\n          }\n          sub_14003F4F0((__int64)v25, a2 + 1592);\n          v10 = (void **)v25;\n          v11 = 5;\n        }\n        else\n        {\n          *(_OWORD *)Block = 0;\n          v23 = 0;\n          v24 = 15;\n          LOBYTE(Block[0]) = 0;\n          v10 = Block;\n          v11 = 2;\n        }\n        DS_Dictionary::setStringForKey(v6, \"uid\", v10);\n        if ( (v11 & 2) != 0 )\n        {\n          v11 &= ~2u;\n          if ( v24 > 0xF )\n          {\n            v12 = Block[0];\n            if ( v24 + 1 >= 0x1000 )\n            {\n              v12 = *((void **)Block[0] - 1);\n              if ( (unsigned __int64)((char *)Block[0] - (char *)v12 - 8) > 0x1F )\n                invoke_watson(nullptr, nullptr, nullptr, 0, 0);\n            }\n            j_j_free(v12);\n          }\n          v23 = 0;\n          v24 = 15;\n          LOBYTE(Block[0]) = 0;\n        }\n        if ( (v11 & 1) != 0 )\n          sub_14003D310((__int64)v25);\n        DS_Dictionary::setStringForKey(v6, \"cs\", a2 + 1632);\n        DS_Dictionary::setIntegerForKey(v6, \"cv\", *(_DWORD *)(a2 + 1696));\n        DS_Dictionary::setIntegerForKey(v6, \"fv\", *(_DWORD *)(a2 + 1700));\n        DS_Dictionary::setStringForKey(v6, \"rs\", a2 + 1664);\n        DS_Dictionary::setBoolForKey(v6, \"ps\", *(_BYTE *)(a2 + 1704));\n        DS_Dictionary::setIntegerForKey(v6, \"sq\", ++dword_14090BFC0);\n        v14 = GJAccountManager::sharedState(v13);\n        v15 = 1640531535 * (*(_DWORD *)(v14 + 364) - *(_DWORD *)(v14 + 360));\n        if ( v20 )\n        {\n          do\n          {\n            v16 = v19;\n            if ( v21 > 0xF )\n              v16 = (_QWORD *)v19[0];\n            v15 = 16777619 * (v15 ^ *((unsigned __int8 *)v16 + v3++));\n          }\n          while ( v3 < v20 );\n        }\n        DS_Dictionary::setIntegerForKey(v6, \"ow\", v15 & 0x7FFFFFFF);\n        DS_Dictionary::stepOutOfSubDict(v6);\n        sub_140222B40((__int64)v6);\n        if ( v6 )\n        {\n          DS_Dictionary::~DS_Dictionary(v6);\n          j_j_free(v6);\n        }\n        sub_14003D310((__int64)v19);\n        Mtx_unlock(v5);\n      }\n    }\n  }\n}", "assembly": "; \n; GameLevelManager::writePlatformerSaveJournal from 0x140223320 to 0x140223740 (1056 bytes)\n; \n; 2 xrefs:\n; > PlayLayer::onQuit @ 0x14051b114\n; > <???> @ 0x14091bc98\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:28:25 +0000\n; \ntest    rdx, rdx                                                       ; +0x0, 0x140223320\njz      locret_14022373F                                               ; +0x3, 0x140223323\nmov     [rsp-8+arg_0], rbx                                             ; +0x9, 0x140223329\nmov     [rsp-8+arg_10], rsi                                            ; +0xe, 0x14022332e\nmov     [rsp-8+arg_18], rdi                                            ; +0x13, 0x140223333\npush    rbp                                                            ; +0x18, 0x140223338\npush    r14                                                            ; +0x19, 0x140223339\npush    r15                                                            ; +0x1b, 0x14022333b\nlea     rbp, [rsp-47h]                                                 ; +0x1d, 0x14022333d\nsub     rsp, 0D0h                                                      ; +0x22, 0x140223342\nmov     rax, cs:__security_cookie                                      ; +0x29, 0x140223349\nxor     rax, rsp                                                       ; +0x30, 0x140223350\nmov     [rbp+57h+var_20], rax                                          ; +0x33, 0x140223353\nmov     rsi, rdx                                                       ; +0x37, 0x140223357\nxor     ebx, ebx                                                       ; +0x3a, 0x14022335a\nmov     dword ptr [rbp+57h+var_B0], ebx                                ; +0x3c, 0x14022335c\nmov     r14d, [rdx+4C4h]                                               ; +0x3f, 0x14022335f\ncmp     r14d, 2                                                        ; +0x46, 0x140223366\njz      short loc_14022338A                                            ; +0x4a, 0x14022336a\ncmp     r14d, 3                                                        ; +0x4c, 0x14022336c\njnz     loc_140223717                                                  ; +0x50, 0x140223370\nmov     eax, [rdx+148h]                                                ; +0x56, 0x140223376\nsub     eax, [rdx+14Ch]                                                ; +0x5c, 0x14022337c\ntest    eax, eax                                                       ; +0x62, 0x140223382\njle     loc_140223717                                                  ; +0x64, 0x140223384\ncmp     [rdx+670h], rbx                                                ; +0x6a, 0x14022338a\njz      loc_140223717                                                  ; +0x71, 0x140223391\nmov     r15, cs:qword_14090A8C8                                        ; +0x77, 0x140223397\nmov     [rbp+57h+var_A8], r15                                          ; +0x7e, 0x14022339e\nmov     rcx, r15; _Mtx_t                                               ; +0x82, 0x1402233a2\ncall    cs:_Mtx_lock                                                   ; +0x85, 0x1402233a5\ntest    eax, eax                                                       ; +0x8b, 0x1402233ab\njz      short loc_1402233BB                                            ; +0x8d, 0x1402233ad\nmov     ecx, 5                                                         ; +0x8f, 0x1402233af\ncall    cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int)   ; +0x94, 0x1402233b4\nint     3; Trap to Debugger                                            ; +0x9a, 0x1402233ba\nmov     eax, [r15+4Ch]                                                 ; +0x9b, 0x1402233bb\ncmp     eax, 7FFFFFFFh                                                 ; +0x9f, 0x1402233bf\njnz     short loc_1402233D8                                            ; +0xa4, 0x1402233c4\ndec     eax                                                            ; +0xa6, 0x1402233c6\nmov     [r15+4Ch], eax                                                 ; +0xa8, 0x1402233c8\nmov     ecx, 6                                                         ; +0xac, 0x1402233cc\ncall    cs:?_Throw_Cpp_error@std@@YAXH@Z; std::_Throw_Cpp_error(int)   ; +0xb1, 0x1402233d1\nnop                                                                    ; +0xb7, 0x1402233d7\nmov     ecx, 0F0h; Size                                                ; +0xb8, 0x1402233d8\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xbd, 0x1402233dd\nmov     [rbp+57h+var_B0], rax                                          ; +0xc2, 0x1402233e2\nmov     rcx, rax                                                       ; +0xc6, 0x1402233e6\ncall    cs:??0DS_Dictionary@@QEAA@XZ; DS_Dictionary::DS_Dictionary(void) ; +0xc9, 0x1402233e9\nmov     rdi, rax                                                       ; +0xcf, 0x1402233ef\nmov     rcx, rax                                                       ; +0xd2, 0x1402233f2\ncall    sub_140222A60                                                  ; +0xd5, 0x1402233f5\ntest    al, al                                                         ; +0xda, 0x1402233fa\njnz     short loc_140223433                                            ; +0xdc, 0x1402233fc\ntest    rdi, rdi                                                       ; +0xde, 0x1402233fe\njz      short loc_140223419                                            ; +0xe1, 0x140223401\nmov     rcx, rdi                                                       ; +0xe3, 0x140223403\ncall    cs:??1DS_Dictionary@@QEAA@XZ; DS_Dictionary::~DS_Dictionary(void) ; +0xe6, 0x140223406\nmov     edx, 0F0h                                                      ; +0xec, 0x14022340c\nmov     rcx, rdi; Block                                                ; +0xf1, 0x140223411\ncall    j_j_free                                                       ; +0xf4, 0x140223414\nmov     ecx, 0F0h; Size                                                ; +0xf9, 0x140223419\ncall    ??2@YAPEAX_K@Z; operator new(unsigned __int64)                 ; +0xfe, 0x14022341e\nmov     [rbp+57h+var_B0], rax                                          ; +0x103, 0x140223423\nmov     rcx, rax                                                       ; +0x107, 0x140223427\ncall    cs:??0DS_Dictionary@@QEAA@XZ; DS_Dictionary::DS_Dictionary(void) ; +0x10a, 0x14022342a\nmov     rdi, rax                                                       ; +0x110, 0x140223430\nmov     rdx, rsi                                                       ; +0x113, 0x140223433\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x116, 0x140223436\ncall    sub_140222BE0                                                  ; +0x11a, 0x14022343a\nnop                                                                    ; +0x11f, 0x14022343f\nlea     rdx, [rbp+57h+var_A0]                                          ; +0x120, 0x140223440\ncmp     [rbp+57h+var_88], 0Fh                                          ; +0x124, 0x140223444\ncmova   rdx, [rbp+57h+var_A0]                                          ; +0x129, 0x140223449\nmov     rcx, rdi                                                       ; +0x12e, 0x14022344e\ncall    cs:?removeKey@DS_Dictionary@@QEAAXPEBD@Z; DS_Dictionary::removeKey(char const *) ; +0x131, 0x140223451\nlea     rdx, [rbp+57h+var_A0]                                          ; +0x137, 0x140223457\ncmp     [rbp+57h+var_88], 0Fh                                          ; +0x13b, 0x14022345b\ncmova   rdx, [rbp+57h+var_A0]                                          ; +0x140, 0x140223460\nmov     r9b, 1                                                         ; +0x145, 0x140223465\nxor     r8d, r8d                                                       ; +0x148, 0x140223468\nmov     rcx, rdi                                                       ; +0x14b, 0x14022346b\ncall    cs:?setSubDictForKey@DS_Dictionary@@QEAAXPEBD_N1@Z; DS_Dictionary::setSubDictForKey(char const *,bool,bool) ; +0x14e, 0x14022346e\nmov     r8d, r14d                                                      ; +0x154, 0x140223474\nlea     rdx, aT; \"t\"                                                   ; +0x157, 0x140223477\nmov     rcx, rdi                                                       ; +0x15e, 0x14022347e\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x161, 0x140223481\nmov     r8d, [rsi+148h]                                                ; +0x167, 0x140223487\nsub     r8d, [rsi+14Ch]                                                ; +0x16e, 0x14022348e\nlea     rdx, aId_0; \"id\"                                               ; +0x175, 0x140223495\nmov     rcx, rdi                                                       ; +0x17c, 0x14022349c\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x17f, 0x14022349f\nmov     r8d, [rsi+3E0h]                                                ; +0x185, 0x1402234a5\nsub     r8d, [rsi+3E4h]                                                ; +0x18c, 0x1402234ac\nlea     rdx, aDid; \"did\"                                               ; +0x193, 0x1402234b3\nmov     rcx, rdi                                                       ; +0x19a, 0x1402234ba\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x19d, 0x1402234bd\nmovzx   r8d, byte ptr [rsi+2D1h]                                       ; +0x1a3, 0x1402234c3\nlea     rdx, aG_0; \"g\"                                                 ; +0x1ab, 0x1402234cb\nmov     rcx, rdi                                                       ; +0x1b2, 0x1402234d2\ncall    cs:?setBoolForKey@DS_Dictionary@@QEAAXPEBD_N@Z; DS_Dictionary::setBoolForKey(char const *,bool) ; +0x1b5, 0x1402234d5\ncmp     r14d, 2                                                        ; +0x1bb, 0x1402234db\njnz     short loc_14022352D                                            ; +0x1bf, 0x1402234df\ncmp     qword ptr [rsi+648h], 0                                        ; +0x1c1, 0x1402234e1\njnz     short loc_140223511                                            ; +0x1c9, 0x1402234e9\nmov     edx, 10h                                                       ; +0x1cb, 0x1402234eb\nlea     rcx, [rbp+57h+Src]; Src                                        ; +0x1d0, 0x1402234f0\ncall    GameToolbox__gen_random                                        ; +0x1d4, 0x1402234f4\nlea     rcx, [rsi+638h]                                                ; +0x1d9, 0x1402234f9\nmov     rdx, rax                                                       ; +0x1e0, 0x140223500\ncall    sub_140059C40                                                  ; +0x1e3, 0x140223503\nlea     rcx, [rbp+57h+Src]                                             ; +0x1e8, 0x140223508\ncall    sub_14003D310                                                  ; +0x1ec, 0x14022350c\nlea     rdx, [rsi+638h]                                                ; +0x1f1, 0x140223511\nlea     rcx, [rbp+57h+var_60]                                          ; +0x1f8, 0x140223518\ncall    sub_14003F4F0                                                  ; +0x1fc, 0x14022351c\nlea     r8, [rbp+57h+var_60]                                           ; +0x201, 0x140223521\nmov     r14d, 5                                                        ; +0x205, 0x140223525\njmp     short loc_14022354E                                            ; +0x20b, 0x14022352b\nxorps   xmm0, xmm0                                                     ; +0x20d, 0x14022352d\nmovups  xmmword ptr [rbp+57h+Block], xmm0                              ; +0x210, 0x140223530\nmov     [rbp+57h+var_70], rbx                                          ; +0x214, 0x140223534\nmov     [rbp+57h+var_68], 0Fh                                          ; +0x218, 0x140223538\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0x220, 0x140223540\nlea     r8, [rbp+57h+Block]                                            ; +0x224, 0x140223544\nmov     r14d, 2                                                        ; +0x228, 0x140223548\nmov     dword ptr [rbp+57h+var_B0], r14d                               ; +0x22e, 0x14022354e\nlea     rdx, aUid; \"uid\"                                               ; +0x232, 0x140223552\nmov     rcx, rdi                                                       ; +0x239, 0x140223559\ncall    cs:?setStringForKey@DS_Dictionary@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; DS_Dictionary::setStringForKey(char const *,std::string const &) ; +0x23c, 0x14022355c\nnop                                                                    ; +0x242, 0x140223562\ntest    r14b, 2                                                        ; +0x243, 0x140223563\njz      short loc_1402235CA                                            ; +0x247, 0x140223567\nand     r14d, 0FFFFFFFDh                                               ; +0x249, 0x140223569\nmov     rdx, [rbp+57h+var_68]                                          ; +0x24d, 0x14022356d\ncmp     rdx, 0Fh                                                       ; +0x251, 0x140223571\njbe     short loc_1402235BA                                            ; +0x255, 0x140223575\ninc     rdx                                                            ; +0x257, 0x140223577\nmov     rcx, [rbp+57h+Block]; Block                                    ; +0x25a, 0x14022357a\nmov     rax, rcx                                                       ; +0x25e, 0x14022357e\ncmp     rdx, 1000h                                                     ; +0x261, 0x140223581\njb      short loc_1402235B5                                            ; +0x268, 0x140223588\nadd     rdx, 27h ; '''                                                 ; +0x26a, 0x14022358a\nmov     rcx, [rcx-8]                                                   ; +0x26e, 0x14022358e\nsub     rax, rcx                                                       ; +0x272, 0x140223592\nsub     rax, 8                                                         ; +0x275, 0x140223595\ncmp     rax, 1Fh                                                       ; +0x279, 0x140223599\njbe     short loc_1402235B5                                            ; +0x27d, 0x14022359d\nmov     [rsp+0E0h+Reserved], rbx; Reserved                             ; +0x27f, 0x14022359f\nxor     r9d, r9d; LineNo                                               ; +0x284, 0x1402235a4\nxor     r8d, r8d; FileName                                             ; +0x287, 0x1402235a7\nxor     edx, edx; FunctionName                                         ; +0x28a, 0x1402235aa\nxor     ecx, ecx; Expression                                           ; +0x28c, 0x1402235ac\ncall    cs:_invoke_watson                                              ; +0x28e, 0x1402235ae\ndb 0CCh                                                                ; +0x294, 0x1402235b4\ncall    j_j_free                                                       ; +0x295, 0x1402235b5\nmov     [rbp+57h+var_70], rbx                                          ; +0x29a, 0x1402235ba\nmov     [rbp+57h+var_68], 0Fh                                          ; +0x29e, 0x1402235be\nmov     byte ptr [rbp+57h+Block], 0                                    ; +0x2a6, 0x1402235c6\ntest    r14b, 1                                                        ; +0x2aa, 0x1402235ca\njz      short loc_1402235D9                                            ; +0x2ae, 0x1402235ce\nlea     rcx, [rbp+57h+var_60]                                          ; +0x2b0, 0x1402235d0\ncall    sub_14003D310                                                  ; +0x2b4, 0x1402235d4\nlea     r8, [rsi+660h]                                                 ; +0x2b9, 0x1402235d9\nlea     rdx, aCs; \"cs\"                                                 ; +0x2c0, 0x1402235e0\nmov     rcx, rdi                                                       ; +0x2c7, 0x1402235e7\ncall    cs:?setStringForKey@DS_Dictionary@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; DS_Dictionary::setStringForKey(char const *,std::string const &) ; +0x2ca, 0x1402235ea\nmov     r8d, [rsi+6A0h]                                                ; +0x2d0, 0x1402235f0\nlea     rdx, aCv; \"cv\"                                                 ; +0x2d7, 0x1402235f7\nmov     rcx, rdi                                                       ; +0x2de, 0x1402235fe\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x2e1, 0x140223601\nmov     r8d, [rsi+6A4h]                                                ; +0x2e7, 0x140223607\nlea     rdx, aFv; \"fv\"                                                 ; +0x2ee, 0x14022360e\nmov     rcx, rdi                                                       ; +0x2f5, 0x140223615\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x2f8, 0x140223618\nlea     r8, [rsi+680h]                                                 ; +0x2fe, 0x14022361e\nlea     rdx, aRs_0; \"rs\"                                               ; +0x305, 0x140223625\nmov     rcx, rdi                                                       ; +0x30c, 0x14022362c\ncall    cs:?setStringForKey@DS_Dictionary@@QEAAXPEBDAEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; DS_Dictionary::setStringForKey(char const *,std::string const &) ; +0x30f, 0x14022362f\nmovzx   r8d, byte ptr [rsi+6A8h]                                       ; +0x315, 0x140223635\nlea     rdx, aPs; \"ps\"                                                 ; +0x31d, 0x14022363d\nmov     rcx, rdi                                                       ; +0x324, 0x140223644\ncall    cs:?setBoolForKey@DS_Dictionary@@QEAAXPEBD_N@Z; DS_Dictionary::setBoolForKey(char const *,bool) ; +0x327, 0x140223647\nmov     r8d, cs:dword_14090BFC0                                        ; +0x32d, 0x14022364d\ninc     r8d                                                            ; +0x334, 0x140223654\nmov     cs:dword_14090BFC0, r8d                                        ; +0x337, 0x140223657\nlea     rdx, aSq; \"sq\"                                                 ; +0x33e, 0x14022365e\nmov     rcx, rdi                                                       ; +0x345, 0x140223665\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x348, 0x140223668\ncall    GJAccountManager__sharedState                                  ; +0x34e, 0x14022366e\nmov     ecx, [rax+16Ch]                                                ; +0x353, 0x140223673\nsub     ecx, [rax+168h]                                                ; +0x359, 0x140223679\nimul    r8d, ecx, 61C8864Fh                                            ; +0x35f, 0x14022367f\nmov     r9, [rbp+57h+var_90]                                           ; +0x366, 0x140223686\ntest    r9, r9                                                         ; +0x36a, 0x14022368a\njz      short loc_1402236C2                                            ; +0x36d, 0x14022368d\nmov     rcx, [rbp+57h+var_88]                                          ; +0x36f, 0x14022368f\nmov     rdx, [rbp+57h+var_A0]                                          ; +0x373, 0x140223693\nnop     word ptr [rax+rax+00000000h]                                   ; +0x377, 0x140223697\nlea     rax, [rbp+57h+var_A0]                                          ; +0x380, 0x1402236a0\ncmp     rcx, 0Fh                                                       ; +0x384, 0x1402236a4\ncmova   rax, rdx                                                       ; +0x388, 0x1402236a8\nmovzx   eax, byte ptr [rax+rbx]                                        ; +0x38c, 0x1402236ac\nxor     eax, r8d                                                       ; +0x390, 0x1402236b0\nimul    r8d, eax, 1000193h                                             ; +0x393, 0x1402236b3\ninc     rbx                                                            ; +0x39a, 0x1402236ba\ncmp     rbx, r9                                                        ; +0x39d, 0x1402236bd\njb      short loc_1402236A0                                            ; +0x3a0, 0x1402236c0\nbtr     r8d, 1Fh                                                       ; +0x3a2, 0x1402236c2\nlea     rdx, aOw; \"ow\"                                                 ; +0x3a7, 0x1402236c7\nmov     rcx, rdi                                                       ; +0x3ae, 0x1402236ce\ncall    cs:?setIntegerForKey@DS_Dictionary@@QEAAXPEBDH@Z; DS_Dictionary::setIntegerForKey(char const *,int) ; +0x3b1, 0x1402236d1\nmov     rcx, rdi                                                       ; +0x3b7, 0x1402236d7\ncall    cs:?stepOutOfSubDict@DS_Dictionary@@QEAAXXZ; DS_Dictionary::stepOutOfSubDict(void) ; +0x3ba, 0x1402236da\nmov     rcx, rdi                                                       ; +0x3c0, 0x1402236e0\ncall    sub_140222B40                                                  ; +0x3c3, 0x1402236e3\ntest    rdi, rdi                                                       ; +0x3c8, 0x1402236e8\njz      short loc_140223704                                            ; +0x3cb, 0x1402236eb\nmov     rcx, rdi                                                       ; +0x3cd, 0x1402236ed\ncall    cs:??1DS_Dictionary@@QEAA@XZ; DS_Dictionary::~DS_Dictionary(void) ; +0x3d0, 0x1402236f0\nmov     edx, 0F0h                                                      ; +0x3d6, 0x1402236f6\nmov     rcx, rdi; Block                                                ; +0x3db, 0x1402236fb\ncall    j_j_free                                                       ; +0x3de, 0x1402236fe\nnop                                                                    ; +0x3e3, 0x140223703\nlea     rcx, [rbp+57h+var_A0]                                          ; +0x3e4, 0x140223704\ncall    sub_14003D310                                                  ; +0x3e8, 0x140223708\nnop                                                                    ; +0x3ed, 0x14022370d\nmov     rcx, r15; _Mtx_t                                               ; +0x3ee, 0x14022370e\ncall    cs:_Mtx_unlock                                                 ; +0x3f1, 0x140223711\nmov     rcx, [rbp+57h+var_20]                                          ; +0x3f7, 0x140223717\nxor     rcx, rsp; StackCookie                                          ; +0x3fb, 0x14022371b\ncall    __security_check_cookie                                        ; +0x3fe, 0x14022371e\nlea     r11, [rsp+0E0h+var_10]                                         ; +0x403, 0x140223723\nmov     rbx, [r11+20h]                                                 ; +0x40b, 0x14022372b\nmov     rsi, [r11+30h]                                                 ; +0x40f, 0x14022372f\nmov     rdi, [r11+38h]                                                 ; +0x413, 0x140223733\nmov     rsp, r11                                                       ; +0x417, 0x140223737\npop     r15                                                            ; +0x41a, 0x14022373a\npop     r14                                                            ; +0x41c, 0x14022373c\npop     rbp                                                            ; +0x41e, 0x14022373e\nretn                                                                   ; +0x41f, 0x14022373f", "xrefs": ["PlayLayer::onQuit @ 0x14051b114", "<???> @ 0x14091bc98"], "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"}