{"type": "func", "start": 4295309824, "end": 4295310558, "name": "GameStatsManager::encodeDataTo", "pseudocode": "// \n// GameStatsManager::encodeDataTo from 0x100053a00 to 0x100053cde (734 bytes)\n// \n// 1 xrefs:\n// > GameManager::encodeDataTo @ 0x100375714\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 12:19:35 +0000\n// \n\n__int64 __fastcall GameStatsManager::encodeDataTo(__int64 a1, __int64 a2)\n{\n  GameStatsManager::preSaveGameStats();\n  DS_Dictionary::setDictForKey(a2, \"GS_value\", *(_QWORD *)(a1 + 520));\n  DS_Dictionary::setDictForKey(a2, \"GS_completed\", *(_QWORD *)(a1 + 608));\n  DS_Dictionary::setDictForKey(a2, \"GS_3\", *(_QWORD *)(a1 + 616));\n  DS_Dictionary::setDictForKey(a2, \"GS_4\", *(_QWORD *)(a1 + 624));\n  DS_Dictionary::setDictForKey(a2, \"GS_5\", *(_QWORD *)(a1 + 720));\n  DS_Dictionary::setDictForKey(a2, \"GS_6\", *(_QWORD *)(a1 + 632));\n  DS_Dictionary::setDictForKey(a2, \"GS_7\", *(_QWORD *)(a1 + 640));\n  DS_Dictionary::setDictForKey(a2, \"GS_23\", *(_QWORD *)(a1 + 656));\n  DS_Dictionary::setDictForKey(a2, \"GS_8\", *(_QWORD *)(a1 + 704));\n  DS_Dictionary::setDictForKey(a2, \"GS_9\", *(_QWORD *)(a1 + 672));\n  DS_Dictionary::setDictForKey(a2, \"GS_10\", *(_QWORD *)(a1 + 648));\n  DS_Dictionary::setDictForKey(a2, \"GS_16\", *(_QWORD *)(a1 + 664));\n  DS_Dictionary::setDictForKey(a2, \"GS_17\", *(_QWORD *)(a1 + 680));\n  DS_Dictionary::setDictForKey(a2, \"GS_18\", *(_QWORD *)(a1 + 688));\n  DS_Dictionary::setDictForKey(a2, \"GS_24\", *(_QWORD *)(a1 + 696));\n  DS_Dictionary::setDictForKey(a2, \"GS_11\", *(_QWORD *)(a1 + 480));\n  DS_Dictionary::setDictForKey(a2, \"GS_22\", *(_QWORD *)(a1 + 488));\n  DS_Dictionary::setDictForKey(a2, \"GS_25\", *(_QWORD *)(a1 + 736));\n  DS_Dictionary::setDictForKey(a2, \"GS_31\", *(_QWORD *)(a1 + 744));\n  DS_Dictionary::setDictForKey(a2, \"GS_33\", *(_QWORD *)(a1 + 752));\n  DS_Dictionary::setDictForKey(a2, \"GS_12\", *(_QWORD *)(a1 + 496));\n  DS_Dictionary::setDictForKey(a2, \"GS_15\", *(_QWORD *)(a1 + 504));\n  DS_Dictionary::setDictForKey(a2, \"GS_14\", *(_QWORD *)(a1 + 712));\n  DS_Dictionary::setDictForKey(a2, \"GS_27\", *(_QWORD *)(a1 + 728));\n  DS_Dictionary::setDictForKey(a2, \"GS_19\", *(_QWORD *)(a1 + 760));\n  DS_Dictionary::setDictForKey(a2, \"GS_30\", *(_QWORD *)(a1 + 800));\n  DS_Dictionary::setIntegerForKey_1(a2, \"GS_20\", (unsigned int)(*(_DWORD *)(a1 + 768) - *(_DWORD *)(a1 + 772)));\n  DS_Dictionary::setDictForKey(a2, \"GS_21\", *(_QWORD *)(a1 + 784));\n  DS_Dictionary::setDictForKey(a2, \"GS_28\", *(_QWORD *)(a1 + 792));\n  DS_Dictionary::setDictForKey(a2, \"GS_32\", *(_QWORD *)(a1 + 816));\n  DS_Dictionary::setIntegerForKey_1(a2, \"GS_26\", *(unsigned int *)(a1 + 916));\n  return DS_Dictionary::setBoolForKey_1(a2, \"GS_29\", *(unsigned __int8 *)(a1 + 912));\n}", "assembly": "; \n; GameStatsManager::encodeDataTo from 0x100053a00 to 0x100053cde (734 bytes)\n; \n; 1 xrefs:\n; > GameManager::encodeDataTo @ 0x100375714\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 12:19:35 +0000\n; \npush    rbp                                                            ; +0x0, 0x100053a00\nmov     rbp, rsp                                                       ; +0x1, 0x100053a01\npush    r14                                                            ; +0x4, 0x100053a04\npush    rbx                                                            ; +0x6, 0x100053a06\nmov     rbx, rsi                                                       ; +0x7, 0x100053a07\nmov     r14, rdi                                                       ; +0xa, 0x100053a0a\ncall    GameStatsManager__preSaveGameStats                             ; +0xd, 0x100053a0d\nmov     rdx, [r14+208h]                                                ; +0x12, 0x100053a12\nlea     rsi, aGsValue; \"GS_value\"                                      ; +0x19, 0x100053a19\nmov     rdi, rbx                                                       ; +0x20, 0x100053a20\ncall    DS_Dictionary__setDictForKey                                   ; +0x23, 0x100053a23\nmov     rdx, [r14+260h]                                                ; +0x28, 0x100053a28\nlea     rsi, aGsCompleted; \"GS_completed\"                              ; +0x2f, 0x100053a2f\nmov     rdi, rbx                                                       ; +0x36, 0x100053a36\ncall    DS_Dictionary__setDictForKey                                   ; +0x39, 0x100053a39\nmov     rdx, [r14+268h]                                                ; +0x3e, 0x100053a3e\nlea     rsi, aGs3; \"GS_3\"                                              ; +0x45, 0x100053a45\nmov     rdi, rbx                                                       ; +0x4c, 0x100053a4c\ncall    DS_Dictionary__setDictForKey                                   ; +0x4f, 0x100053a4f\nmov     rdx, [r14+270h]                                                ; +0x54, 0x100053a54\nlea     rsi, aGs4; \"GS_4\"                                              ; +0x5b, 0x100053a5b\nmov     rdi, rbx                                                       ; +0x62, 0x100053a62\ncall    DS_Dictionary__setDictForKey                                   ; +0x65, 0x100053a65\nmov     rdx, [r14+2D0h]                                                ; +0x6a, 0x100053a6a\nlea     rsi, aGs5; \"GS_5\"                                              ; +0x71, 0x100053a71\nmov     rdi, rbx                                                       ; +0x78, 0x100053a78\ncall    DS_Dictionary__setDictForKey                                   ; +0x7b, 0x100053a7b\nmov     rdx, [r14+278h]                                                ; +0x80, 0x100053a80\nlea     rsi, aGs6; \"GS_6\"                                              ; +0x87, 0x100053a87\nmov     rdi, rbx                                                       ; +0x8e, 0x100053a8e\ncall    DS_Dictionary__setDictForKey                                   ; +0x91, 0x100053a91\nmov     rdx, [r14+280h]                                                ; +0x96, 0x100053a96\nlea     rsi, aGs7; \"GS_7\"                                              ; +0x9d, 0x100053a9d\nmov     rdi, rbx                                                       ; +0xa4, 0x100053aa4\ncall    DS_Dictionary__setDictForKey                                   ; +0xa7, 0x100053aa7\nmov     rdx, [r14+290h]                                                ; +0xac, 0x100053aac\nlea     rsi, aGs23; \"GS_23\"                                            ; +0xb3, 0x100053ab3\nmov     rdi, rbx                                                       ; +0xba, 0x100053aba\ncall    DS_Dictionary__setDictForKey                                   ; +0xbd, 0x100053abd\nmov     rdx, [r14+2C0h]                                                ; +0xc2, 0x100053ac2\nlea     rsi, aGs8; \"GS_8\"                                              ; +0xc9, 0x100053ac9\nmov     rdi, rbx                                                       ; +0xd0, 0x100053ad0\ncall    DS_Dictionary__setDictForKey                                   ; +0xd3, 0x100053ad3\nmov     rdx, [r14+2A0h]                                                ; +0xd8, 0x100053ad8\nlea     rsi, aGs9; \"GS_9\"                                              ; +0xdf, 0x100053adf\nmov     rdi, rbx                                                       ; +0xe6, 0x100053ae6\ncall    DS_Dictionary__setDictForKey                                   ; +0xe9, 0x100053ae9\nmov     rdx, [r14+288h]                                                ; +0xee, 0x100053aee\nlea     rsi, aGs10; \"GS_10\"                                            ; +0xf5, 0x100053af5\nmov     rdi, rbx                                                       ; +0xfc, 0x100053afc\ncall    DS_Dictionary__setDictForKey                                   ; +0xff, 0x100053aff\nmov     rdx, [r14+298h]                                                ; +0x104, 0x100053b04\nlea     rsi, aGs16; \"GS_16\"                                            ; +0x10b, 0x100053b0b\nmov     rdi, rbx                                                       ; +0x112, 0x100053b12\ncall    DS_Dictionary__setDictForKey                                   ; +0x115, 0x100053b15\nmov     rdx, [r14+2A8h]                                                ; +0x11a, 0x100053b1a\nlea     rsi, aGs17; \"GS_17\"                                            ; +0x121, 0x100053b21\nmov     rdi, rbx                                                       ; +0x128, 0x100053b28\ncall    DS_Dictionary__setDictForKey                                   ; +0x12b, 0x100053b2b\nmov     rdx, [r14+2B0h]                                                ; +0x130, 0x100053b30\nlea     rsi, aGs18; \"GS_18\"                                            ; +0x137, 0x100053b37\nmov     rdi, rbx                                                       ; +0x13e, 0x100053b3e\ncall    DS_Dictionary__setDictForKey                                   ; +0x141, 0x100053b41\nmov     rdx, [r14+2B8h]                                                ; +0x146, 0x100053b46\nlea     rsi, aGs24; \"GS_24\"                                            ; +0x14d, 0x100053b4d\nmov     rdi, rbx                                                       ; +0x154, 0x100053b54\ncall    DS_Dictionary__setDictForKey                                   ; +0x157, 0x100053b57\nmov     rdx, [r14+1E0h]                                                ; +0x15c, 0x100053b5c\nlea     rsi, aGs11; \"GS_11\"                                            ; +0x163, 0x100053b63\nmov     rdi, rbx                                                       ; +0x16a, 0x100053b6a\ncall    DS_Dictionary__setDictForKey                                   ; +0x16d, 0x100053b6d\nmov     rdx, [r14+1E8h]                                                ; +0x172, 0x100053b72\nlea     rsi, aGs22; \"GS_22\"                                            ; +0x179, 0x100053b79\nmov     rdi, rbx                                                       ; +0x180, 0x100053b80\ncall    DS_Dictionary__setDictForKey                                   ; +0x183, 0x100053b83\nmov     rdx, [r14+2E0h]                                                ; +0x188, 0x100053b88\nlea     rsi, aGs25; \"GS_25\"                                            ; +0x18f, 0x100053b8f\nmov     rdi, rbx                                                       ; +0x196, 0x100053b96\ncall    DS_Dictionary__setDictForKey                                   ; +0x199, 0x100053b99\nmov     rdx, [r14+2E8h]                                                ; +0x19e, 0x100053b9e\nlea     rsi, aGs31; \"GS_31\"                                            ; +0x1a5, 0x100053ba5\nmov     rdi, rbx                                                       ; +0x1ac, 0x100053bac\ncall    DS_Dictionary__setDictForKey                                   ; +0x1af, 0x100053baf\nmov     rdx, [r14+2F0h]                                                ; +0x1b4, 0x100053bb4\nlea     rsi, aGs33; \"GS_33\"                                            ; +0x1bb, 0x100053bbb\nmov     rdi, rbx                                                       ; +0x1c2, 0x100053bc2\ncall    DS_Dictionary__setDictForKey                                   ; +0x1c5, 0x100053bc5\nmov     rdx, [r14+1F0h]                                                ; +0x1ca, 0x100053bca\nlea     rsi, aGs12; \"GS_12\"                                            ; +0x1d1, 0x100053bd1\nmov     rdi, rbx                                                       ; +0x1d8, 0x100053bd8\ncall    DS_Dictionary__setDictForKey                                   ; +0x1db, 0x100053bdb\nmov     rdx, [r14+1F8h]                                                ; +0x1e0, 0x100053be0\nlea     rsi, aGs15; \"GS_15\"                                            ; +0x1e7, 0x100053be7\nmov     rdi, rbx                                                       ; +0x1ee, 0x100053bee\ncall    DS_Dictionary__setDictForKey                                   ; +0x1f1, 0x100053bf1\nmov     rdx, [r14+2C8h]                                                ; +0x1f6, 0x100053bf6\nlea     rsi, aGs14; \"GS_14\"                                            ; +0x1fd, 0x100053bfd\nmov     rdi, rbx                                                       ; +0x204, 0x100053c04\ncall    DS_Dictionary__setDictForKey                                   ; +0x207, 0x100053c07\nmov     rdx, [r14+2D8h]                                                ; +0x20c, 0x100053c0c\nlea     rsi, aGs27; \"GS_27\"                                            ; +0x213, 0x100053c13\nmov     rdi, rbx                                                       ; +0x21a, 0x100053c1a\ncall    DS_Dictionary__setDictForKey                                   ; +0x21d, 0x100053c1d\nmov     rdx, [r14+2F8h]                                                ; +0x222, 0x100053c22\nlea     rsi, aGs19; \"GS_19\"                                            ; +0x229, 0x100053c29\nmov     rdi, rbx                                                       ; +0x230, 0x100053c30\ncall    DS_Dictionary__setDictForKey                                   ; +0x233, 0x100053c33\nmov     rdx, [r14+320h]                                                ; +0x238, 0x100053c38\nlea     rsi, aGs30; \"GS_30\"                                            ; +0x23f, 0x100053c3f\nmov     rdi, rbx                                                       ; +0x246, 0x100053c46\ncall    DS_Dictionary__setDictForKey                                   ; +0x249, 0x100053c49\nmov     edx, [r14+300h]                                                ; +0x24e, 0x100053c4e\nsub     edx, [r14+304h]                                                ; +0x255, 0x100053c55\nlea     rsi, aGs20; \"GS_20\"                                            ; +0x25c, 0x100053c5c\nmov     rdi, rbx                                                       ; +0x263, 0x100053c63\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x266, 0x100053c66\nmov     rdx, [r14+310h]                                                ; +0x26b, 0x100053c6b\nlea     rsi, aGs21; \"GS_21\"                                            ; +0x272, 0x100053c72\nmov     rdi, rbx                                                       ; +0x279, 0x100053c79\ncall    DS_Dictionary__setDictForKey                                   ; +0x27c, 0x100053c7c\nmov     rdx, [r14+318h]                                                ; +0x281, 0x100053c81\nlea     rsi, aGs28; \"GS_28\"                                            ; +0x288, 0x100053c88\nmov     rdi, rbx                                                       ; +0x28f, 0x100053c8f\ncall    DS_Dictionary__setDictForKey                                   ; +0x292, 0x100053c92\nmov     rdx, [r14+330h]                                                ; +0x297, 0x100053c97\nlea     rsi, aGs32; \"GS_32\"                                            ; +0x29e, 0x100053c9e\nmov     rdi, rbx                                                       ; +0x2a5, 0x100053ca5\ncall    DS_Dictionary__setDictForKey                                   ; +0x2a8, 0x100053ca8\nmov     edx, [r14+394h]                                                ; +0x2ad, 0x100053cad\nlea     rsi, aGs26; \"GS_26\"                                            ; +0x2b4, 0x100053cb4\nmov     rdi, rbx                                                       ; +0x2bb, 0x100053cbb\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x2be, 0x100053cbe\nmovzx   edx, byte ptr [r14+390h]                                       ; +0x2c3, 0x100053cc3\nlea     rsi, aGs29; \"GS_29\"                                            ; +0x2cb, 0x100053ccb\nmov     rdi, rbx                                                       ; +0x2d2, 0x100053cd2\npop     rbx                                                            ; +0x2d5, 0x100053cd5\npop     r14                                                            ; +0x2d6, 0x100053cd6\npop     rbp                                                            ; +0x2d8, 0x100053cd8\njmp     DS_Dictionary__setBoolForKey_1                                 ; +0x2d9, 0x100053cd9", "xrefs": ["GameManager::encodeDataTo @ 0x100375714"], "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"}