{"type": "func", "start": 4294979328, "end": 4294979452, "name": "FileSaveManager::sharedState", "pseudocode": "// \n// FileSaveManager::sharedState from 0x100002f00 to 0x100002f7c (124 bytes)\n// \n// 0 xrefs:\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:18:45 +0000\n// \n\n__int64 FileSaveManager::sharedState()\n{\n  __int64 result; // rax\n  char *v1; // rbx\n\n  result = qword_100BE0930;\n  if ( !qword_100BE0930 )\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_100AB4848;\n    *((_QWORD *)v1 + 44) = 0;\n    qword_100BE0930 = (__int64)v1;\n    std::string::assign((std::string *)(v1 + 320), \"CCData.dat\");\n    return qword_100BE0930;\n  }\n  return result;\n}", "assembly": "; \n; FileSaveManager::sharedState from 0x100002f00 to 0x100002f7c (124 bytes)\n; \n; 0 xrefs:\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:18:45 +0000\n; \npush    rbp                                                            ; +0x0, 0x100002f00\nmov     rbp, rsp                                                       ; +0x1, 0x100002f01\npush    r14                                                            ; +0x4, 0x100002f04\npush    rbx                                                            ; +0x6, 0x100002f06\nmov     rax, cs:qword_100BE0930                                        ; +0x7, 0x100002f07\ntest    rax, rax                                                       ; +0xe, 0x100002f0e\njz      short loc_100002F18                                            ; +0x11, 0x100002f11\npop     rbx                                                            ; +0x13, 0x100002f13\npop     r14                                                            ; +0x14, 0x100002f14\npop     rbp                                                            ; +0x16, 0x100002f16\nretn                                                                   ; +0x17, 0x100002f17\nmov     edi, 168h; __sz                                                ; +0x18, 0x100002f18\ncall    __Znwm; operator new(ulong)                                    ; +0x1d, 0x100002f1d\nmov     rbx, rax                                                       ; +0x22, 0x100002f22\nmov     rdi, rax                                                       ; +0x25, 0x100002f25\ncall    cocos2d__CCNode__CCNode                                        ; +0x28, 0x100002f28\nmov     rdi, rbx                                                       ; +0x2d, 0x100002f2d\nadd     rdi, 140h; this                                                ; +0x30, 0x100002f30\nxorps   xmm0, xmm0                                                     ; +0x37, 0x100002f37\nmovups  xmmword ptr [rbx+14Bh], xmm0                                   ; +0x3a, 0x100002f3a\nmovups  xmmword ptr [rbx+140h], xmm0                                   ; +0x41, 0x100002f41\nlea     rax, off_100AB4848                                             ; +0x48, 0x100002f48\nmov     [rbx], rax                                                     ; +0x4f, 0x100002f4f\nmov     qword ptr [rbx+160h], 0                                        ; +0x52, 0x100002f52\nmov     cs:qword_100BE0930, rbx                                        ; +0x5d, 0x100002f5d\nlea     rsi, __s; \"CCData.dat\"                                         ; +0x64, 0x100002f64\ncall    __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x6b, 0x100002f6b\nmov     rax, cs:qword_100BE0930                                        ; +0x70, 0x100002f70\npop     rbx                                                            ; +0x77, 0x100002f77\npop     r14                                                            ; +0x78, 0x100002f78\npop     rbp                                                            ; +0x7a, 0x100002f7a\nretn                                                                   ; +0x7b, 0x100002f7b", "xrefs": [], "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"}