{"type": "func", "start": 4300633952, "end": 4300634127, "name": "GameLevelManager::storeUserInfo", "pseudocode": "// \n// GameLevelManager::storeUserInfo from 0x100567760 to 0x10056780f (175 bytes)\n// \n// 1 xrefs:\n// > GameLevelManager::onGetGJUserInfoCompleted @ 0x1005283cd\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:32:11 +0000\n// \n\nvoid __fastcall GameLevelManager::storeUserInfo(__int64 a1, __int64 a2)\n{\n  __int64 v2; // rdx\n  int v3; // r15d\n  int v4; // r12d\n  std::string v5[2]; // [rsp+0h] [rbp-40h] BYREF\n\n  if ( a2 )\n  {\n    v2 = *(int *)(a2 + 376);\n    if ( v2 > 0 )\n    {\n      cocos2d::CCDictionary::setObject_1(*(_QWORD *)(a1 + 1120), a2, v2);\n      v3 = *(_DWORD *)(a2 + 372);\n      v4 = *(_DWORD *)(a2 + 376);\n      if ( (*(_BYTE *)(a2 + 320) & 1) != 0 )\n        sub_10001AD30(v5, *(const void **)(a2 + 336), *(_QWORD *)(a2 + 328));\n      else\n        v5[0] = *(std::string *)(a2 + 320);\n      GameLevelManager::storeUserName(a1, v3, v4, v5);\n      if ( (*(_BYTE *)&v5[0].__r_.__value_.__s.0 & 1) != 0 )\n        operator delete(v5[0].__r_.__value_.__l.__data_);\n    }\n  }\n}", "assembly": "; \n; GameLevelManager::storeUserInfo from 0x100567760 to 0x10056780f (175 bytes)\n; \n; 1 xrefs:\n; > GameLevelManager::onGetGJUserInfoCompleted @ 0x1005283cd\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:32:11 +0000\n; \npush    rbp                                                            ; +0x0, 0x100567760\nmov     rbp, rsp                                                       ; +0x1, 0x100567761\npush    r15                                                            ; +0x4, 0x100567764\npush    r14                                                            ; +0x6, 0x100567766\npush    r12                                                            ; +0x8, 0x100567768\npush    rbx                                                            ; +0xa, 0x10056776a\nsub     rsp, 20h                                                       ; +0xb, 0x10056776b\ntest    rsi, rsi                                                       ; +0xf, 0x10056776f\njz      loc_100567802                                                  ; +0x12, 0x100567772\nmov     r14, rsi                                                       ; +0x18, 0x100567778\nmovsxd  rdx, dword ptr [rsi+178h]                                      ; +0x1b, 0x10056777b\ntest    rdx, rdx                                                       ; +0x22, 0x100567782\njle     short loc_100567802                                            ; +0x25, 0x100567785\nmov     rbx, rdi                                                       ; +0x27, 0x100567787\nmov     rdi, [rdi+460h]                                                ; +0x2a, 0x10056778a\nmov     rsi, r14                                                       ; +0x31, 0x100567791\ncall    cocos2d__CCDictionary__setObject_1                             ; +0x34, 0x100567794\nmov     r15d, [r14+174h]                                               ; +0x39, 0x100567799\nmov     r12d, [r14+178h]                                               ; +0x40, 0x1005677a0\ntest    byte ptr [r14+140h], 1                                         ; +0x47, 0x1005677a7\njnz     short loc_1005677CA                                            ; +0x4f, 0x1005677af\nadd     r14, 140h                                                      ; +0x51, 0x1005677b1\nmov     rax, [r14+10h]                                                 ; +0x58, 0x1005677b8\nmov     [rbp+__p], rax                                                 ; +0x5c, 0x1005677bc\nmovups  xmm0, xmmword ptr [r14]                                        ; +0x60, 0x1005677c0\nmovaps  [rbp+var_40], xmm0                                             ; +0x64, 0x1005677c4\njmp     short loc_1005677E1                                            ; +0x68, 0x1005677c8\nmov     rdx, [r14+148h]                                                ; +0x6a, 0x1005677ca\nmov     rsi, [r14+150h]                                                ; +0x71, 0x1005677d1\nlea     rdi, [rbp+var_40]                                              ; +0x78, 0x1005677d8\ncall    sub_10001AD30                                                  ; +0x7c, 0x1005677dc\nlea     rcx, [rbp+var_40]                                              ; +0x81, 0x1005677e1\nmov     rdi, rbx                                                       ; +0x85, 0x1005677e5\nmov     esi, r15d                                                      ; +0x88, 0x1005677e8\nmov     edx, r12d                                                      ; +0x8b, 0x1005677eb\ncall    GameLevelManager__storeUserName                                ; +0x8e, 0x1005677ee\ntest    byte ptr [rbp+var_40], 1                                       ; +0x93, 0x1005677f3\njz      short loc_100567802                                            ; +0x97, 0x1005677f7\nmov     rdi, [rbp+__p]; __p                                            ; +0x99, 0x1005677f9\ncall    __ZdlPv; operator delete(void *)                               ; +0x9d, 0x1005677fd\nadd     rsp, 20h                                                       ; +0xa2, 0x100567802\npop     rbx                                                            ; +0xa6, 0x100567806\npop     r12                                                            ; +0xa7, 0x100567807\npop     r14                                                            ; +0xa9, 0x100567809\npop     r15                                                            ; +0xab, 0x10056780b\npop     rbp                                                            ; +0xad, 0x10056780d\nretn                                                                   ; +0xae, 0x10056780e", "xrefs": ["GameLevelManager::onGetGJUserInfoCompleted @ 0x1005283cd"], "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"}