{"type": "func", "start": 4294995168, "end": 4294995292, "name": "FileSaveManager::sharedState", "pseudocode": "// \n// FileSaveManager::sharedState from 0x100006ce0 to 0x100006d5c (124 bytes)\n// \n// 0 xrefs:\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\nFileSaveManager *__fastcall FileSaveManager::sharedState()\n{\n  FileSaveManager *result; // rax\n  char *v1; // rbx\n\n  result = (FileSaveManager *)qword_10099E760;\n  if ( !qword_10099E760 )\n  {\n    v1 = (char *)operator new(0x168u);\n    cocos2d::CCNode::CCNode(v1);\n    *(_OWORD *)(v1 + 331) = 0;\n    *((_OWORD *)v1 + 20) = 0;\n    *(_QWORD *)v1 = off_1008AFD50;\n    *((_QWORD *)v1 + 44) = 0;\n    qword_10099E760 = (__int64)v1;\n    std::string::assign((std::string *)(v1 + 320), \"CCData.dat\");\n    return (FileSaveManager *)qword_10099E760;\n  }\n  return result;\n}", "assembly": "; \n; FileSaveManager::sharedState from 0x100006ce0 to 0x100006d5c (124 bytes)\n; \n; 0 xrefs:\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\npush    rbp                                                            ; +0x0, 0x100006ce0\nmov     rbp, rsp                                                       ; +0x1, 0x100006ce1\npush    r14                                                            ; +0x4, 0x100006ce4\npush    rbx                                                            ; +0x6, 0x100006ce6\nmov     rax, cs:qword_10099E760                                        ; +0x7, 0x100006ce7\ntest    rax, rax                                                       ; +0xe, 0x100006cee\njz      short loc_100006CF8                                            ; +0x11, 0x100006cf1\npop     rbx                                                            ; +0x13, 0x100006cf3\npop     r14                                                            ; +0x14, 0x100006cf4\npop     rbp                                                            ; +0x16, 0x100006cf6\nretn                                                                   ; +0x17, 0x100006cf7\nmov     edi, 168h; __sz                                                ; +0x18, 0x100006cf8\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x100006cfd\nmov     rbx, rax                                                       ; +0x22, 0x100006d02\nmov     rdi, rax                                                       ; +0x25, 0x100006d05\ncall    cocos2d__CCNode__CCNode                                        ; +0x28, 0x100006d08\nmov     rdi, rbx                                                       ; +0x2d, 0x100006d0d\nadd     rdi, 140h; this                                                ; +0x30, 0x100006d10\nxorps   xmm0, xmm0                                                     ; +0x37, 0x100006d17\nmovups  xmmword ptr [rbx+14Bh], xmm0                                   ; +0x3a, 0x100006d1a\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x41, 0x100006d21\nlea     rax, off_1008AFD50                                             ; +0x48, 0x100006d28\nmov     [rbx], rax                                                     ; +0x4f, 0x100006d2f\nmov     qword ptr [rbx+160h], 0                                        ; +0x52, 0x100006d32\nmov     cs:qword_10099E760, rbx                                        ; +0x5d, 0x100006d3d\nlea     rsi, aCcdataDat; \"CCData.dat\"                                  ; +0x64, 0x100006d44\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x6b, 0x100006d4b\nmov     rax, cs:qword_10099E760                                        ; +0x70, 0x100006d50\npop     rbx                                                            ; +0x77, 0x100006d57\npop     r14                                                            ; +0x78, 0x100006d58\npop     rbp                                                            ; +0x7a, 0x100006d5a\nretn                                                                   ; +0x7b, 0x100006d5b", "xrefs": [], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}