{"type": "func", "start": 4301361360, "end": 4301361463, "name": "GJKeybindManager::encodeDataTo", "pseudocode": "// \n// GJKeybindManager::encodeDataTo from 0x1006190d0 to 0x100619137 (103 bytes)\n// \n// 1 xrefs:\n// > GameManager::encodeDataTo @ 0x100375754\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:34:38 +0000\n// \n\nvoid __fastcall GJKeybindManager::encodeDataTo(__int64 a1, __int64 a2)\n{\n  std::string v2[2]; // [rsp+0h] [rbp-30h] BYREF\n\n  if ( a2 )\n  {\n    DS_Dictionary::setIntegerForKey_1(a2, (__int64)\"GJKB_Version\", 2);\n    GJKeybindManager::buildBindsBlob(v2, a1);\n    DS_Dictionary::setStringForKey_1(a2, (__int64)\"GJKB_Binds\", (__int64)v2);\n    if ( (*(_BYTE *)&v2[0].__r_.__value_.__s.0 & 1) != 0 )\n      operator delete(v2[0].__r_.__value_.__l.__data_);\n  }\n}", "assembly": "; \n; GJKeybindManager::encodeDataTo from 0x1006190d0 to 0x100619137 (103 bytes)\n; \n; 1 xrefs:\n; > GameManager::encodeDataTo @ 0x100375754\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:34:38 +0000\n; \npush    rbp                                                            ; +0x0, 0x1006190d0\nmov     rbp, rsp                                                       ; +0x1, 0x1006190d1\npush    r15                                                            ; +0x4, 0x1006190d4\npush    r14                                                            ; +0x6, 0x1006190d6\npush    rbx                                                            ; +0x8, 0x1006190d8\nsub     rsp, 18h                                                       ; +0x9, 0x1006190d9\ntest    rsi, rsi                                                       ; +0xd, 0x1006190dd\njz      short loc_10061912C                                            ; +0x10, 0x1006190e0\nmov     rbx, rsi                                                       ; +0x12, 0x1006190e2\nmov     r14, rdi                                                       ; +0x15, 0x1006190e5\nlea     rsi, aGjkbVersion; \"GJKB_Version\"                              ; +0x18, 0x1006190e8\nmov     rdi, rbx                                                       ; +0x1f, 0x1006190ef\nmov     edx, 2                                                         ; +0x22, 0x1006190f2\ncall    DS_Dictionary__setIntegerForKey_1                              ; +0x27, 0x1006190f7\nlea     r15, [rbp+var_30]                                              ; +0x2c, 0x1006190fc\nmov     rdi, r15                                                       ; +0x30, 0x100619100\nmov     rsi, r14                                                       ; +0x33, 0x100619103\ncall    GJKeybindManager__buildBindsBlob                               ; +0x36, 0x100619106\nlea     rsi, aGjkbBinds; \"GJKB_Binds\"                                  ; +0x3b, 0x10061910b\nmov     rdi, rbx                                                       ; +0x42, 0x100619112\nmov     rdx, r15                                                       ; +0x45, 0x100619115\ncall    DS_Dictionary__setStringForKey_1                               ; +0x48, 0x100619118\ntest    [rbp+var_30], 1                                                ; +0x4d, 0x10061911d\njz      short loc_10061912C                                            ; +0x51, 0x100619121\nmov     rdi, [rbp+__p]; __p                                            ; +0x53, 0x100619123\ncall    __ZdlPv; operator delete(void *)                               ; +0x57, 0x100619127\nadd     rsp, 18h                                                       ; +0x5c, 0x10061912c\npop     rbx                                                            ; +0x60, 0x100619130\npop     r14                                                            ; +0x61, 0x100619131\npop     r15                                                            ; +0x63, 0x100619133\npop     rbp                                                            ; +0x65, 0x100619135\nretn                                                                   ; +0x66, 0x100619136", "xrefs": ["GameManager::encodeDataTo @ 0x100375754"], "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"}