{"type": "func", "start": 5373698560, "end": 5373698919, "name": "ArtTriggerGameObject::getSaveString", "pseudocode": "// \n// ArtTriggerGameObject::getSaveString from 0x1404c2200 to 0x1404c2367 (359 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x1406147b8\n// > <???> @ 0x1406dcf50\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\n_QWORD *__fastcall ArtTriggerGameObject::getSaveString(__int64 a1, _QWORD *a2, __int64 a3)\n{\n  __int64 SaveString; // rax\n  _BYTE *v7; // rax\n  size_t v8; // r8\n  __int128 v10; // [rsp+20h] [rbp-288h] BYREF\n  _BYTE v11[16]; // [rsp+38h] [rbp-270h] BYREF\n  _BYTE v12[40]; // [rsp+48h] [rbp-260h] BYREF\n  _BYTE v13[528]; // [rsp+70h] [rbp-238h] BYREF\n\n  *(_QWORD *)&v10 = a2;\n  fmt::BasicWriter<char>::BasicWriter<char>(v13);\n  SaveString = EffectGameObject::getSaveString(a1, (__int64)v12, a3);\n  v10 = *(_OWORD *)fmt::BasicStringRef<char>::BasicStringRef<char>(v11, SaveString);\n  fmt::BasicWriter<char>::operator<<(v13, &v10);\n  sub_14003A830((__int64)v12);\n  if ( *(_DWORD *)(a1 + 1856) )\n  {\n    *(_QWORD *)&v10 = \",\";\n    *((_QWORD *)&v10 + 1) = 0;\n    fmt::BasicWriter<char>::operator<<(v13, &v10);\n    fmt::BasicWriter<char>::operator<<(v13, 533);\n    *(_QWORD *)&v10 = \",\";\n    *((_QWORD *)&v10 + 1) = 0;\n    fmt::BasicWriter<char>::operator<<(v13, &v10);\n    fmt::BasicWriter<char>::operator<<(v13, *(unsigned int *)(a1 + 1856));\n  }\n  v7 = (_BYTE *)fmt::BasicWriter<char>::c_str(v13);\n  *(_OWORD *)a2 = 0;\n  a2[2] = 0;\n  a2[3] = 0;\n  v8 = -1;\n  do\n    ++v8;\n  while ( v7[v8] );\n  sub_14003A930(a2, v7, v8);\n  fmt::BasicWriter<char>::~BasicWriter<char>(v13);\n  return a2;\n}", "assembly": "; \n; ArtTriggerGameObject::getSaveString from 0x1404c2200 to 0x1404c2367 (359 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x1406147b8\n; > <???> @ 0x1406dcf50\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\nmov     [rsp+arg_18], rbx                                              ; +0x0, 0x1404c2200\npush    rbp                                                            ; +0x5, 0x1404c2205\npush    rsi                                                            ; +0x6, 0x1404c2206\npush    rdi                                                            ; +0x7, 0x1404c2207\nsub     rsp, 290h                                                      ; +0x8, 0x1404c2208\nmov     rax, cs:__security_cookie                                      ; +0xf, 0x1404c220f\nxor     rax, rsp                                                       ; +0x16, 0x1404c2216\nmov     [rsp+2A8h+var_28], rax                                         ; +0x19, 0x1404c2219\nmov     rbx, r8                                                        ; +0x21, 0x1404c2221\nmov     rdi, rdx                                                       ; +0x24, 0x1404c2224\nmov     rsi, rcx                                                       ; +0x27, 0x1404c2227\nmov     qword ptr [rsp+2A8h+var_288], rdx                              ; +0x2a, 0x1404c222a\nxor     ebp, ebp                                                       ; +0x2f, 0x1404c222f\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0x31, 0x1404c2231\ncall    cs:??0?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::BasicWriter<char>(void) ; +0x36, 0x1404c2236\nnop                                                                    ; +0x3c, 0x1404c223c\nmov     r8, rbx                                                        ; +0x3d, 0x1404c223d\nlea     rdx, [rsp+2A8h+var_260]                                        ; +0x40, 0x1404c2240\nmov     rcx, rsi                                                       ; +0x45, 0x1404c2245\ncall    EffectGameObject__getSaveString                                ; +0x48, 0x1404c2248\nnop                                                                    ; +0x4d, 0x1404c224d\nmov     rdx, rax                                                       ; +0x4e, 0x1404c224e\nlea     rcx, [rsp+2A8h+var_270]                                        ; +0x51, 0x1404c2251\ncall    cs:??0?$BasicStringRef@D@fmt@@QEAA@AEBV?$basic_string@DU?$char_traits@D@std@@V?$allocator@D@2@@std@@@Z; fmt::BasicStringRef<char>::BasicStringRef<char>(std::string const &) ; +0x56, 0x1404c2256\nmovups  xmm0, xmmword ptr [rax]                                        ; +0x5c, 0x1404c225c\nmovaps  [rsp+2A8h+var_288], xmm0                                       ; +0x5f, 0x1404c225f\nlea     rdx, [rsp+2A8h+var_288]                                        ; +0x64, 0x1404c2264\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0x69, 0x1404c2269\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@V?$BasicStringRef@D@1@@Z; fmt::BasicWriter<char>::operator<<(fmt::BasicStringRef<char>) ; +0x6e, 0x1404c226e\nnop                                                                    ; +0x74, 0x1404c2274\nlea     rcx, [rsp+2A8h+var_260]                                        ; +0x75, 0x1404c2275\ncall    sub_14003A830                                                  ; +0x7a, 0x1404c227a\ncmp     [rsi+740h], ebp                                                ; +0x7f, 0x1404c227f\njz      short loc_1404C22F9                                            ; +0x85, 0x1404c2285\nlea     rbx, asc_140533704; \",\"                                        ; +0x87, 0x1404c2287\nmov     qword ptr [rsp+2A8h+var_288], rbx                              ; +0x8e, 0x1404c228e\nmov     qword ptr [rsp+2A8h+var_288+8], rbp                            ; +0x93, 0x1404c2293\nmovaps  xmm0, [rsp+2A8h+var_288]                                       ; +0x98, 0x1404c2298\nmovdqa  [rsp+2A8h+var_288], xmm0                                       ; +0x9d, 0x1404c229d\nlea     rdx, [rsp+2A8h+var_288]                                        ; +0xa3, 0x1404c22a3\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0xa8, 0x1404c22a8\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@V?$BasicStringRef@D@1@@Z; fmt::BasicWriter<char>::operator<<(fmt::BasicStringRef<char>) ; +0xad, 0x1404c22ad\nmov     edx, 215h                                                      ; +0xb3, 0x1404c22b3\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0xb8, 0x1404c22b8\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@H@Z; fmt::BasicWriter<char>::operator<<(int) ; +0xbd, 0x1404c22bd\nmov     qword ptr [rsp+2A8h+var_288], rbx                              ; +0xc3, 0x1404c22c3\nmov     qword ptr [rsp+2A8h+var_288+8], rbp                            ; +0xc8, 0x1404c22c8\nmovaps  xmm0, [rsp+2A8h+var_288]                                       ; +0xcd, 0x1404c22cd\nmovdqa  [rsp+2A8h+var_288], xmm0                                       ; +0xd2, 0x1404c22d2\nlea     rdx, [rsp+2A8h+var_288]                                        ; +0xd8, 0x1404c22d8\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0xdd, 0x1404c22dd\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@V?$BasicStringRef@D@1@@Z; fmt::BasicWriter<char>::operator<<(fmt::BasicStringRef<char>) ; +0xe2, 0x1404c22e2\nmov     edx, [rsi+740h]                                                ; +0xe8, 0x1404c22e8\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0xee, 0x1404c22ee\ncall    cs:??6?$BasicWriter@D@fmt@@QEAAAEAV01@H@Z; fmt::BasicWriter<char>::operator<<(int) ; +0xf3, 0x1404c22f3\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0xf9, 0x1404c22f9\ncall    cs:?c_str@?$BasicWriter@D@fmt@@QEBAPEBDXZ; fmt::BasicWriter<char>::c_str(void) ; +0xfe, 0x1404c22fe\nxorps   xmm0, xmm0                                                     ; +0x104, 0x1404c2304\nmovups  xmmword ptr [rdi], xmm0                                        ; +0x107, 0x1404c2307\nmov     [rdi+10h], rbp                                                 ; +0x10a, 0x1404c230a\nmov     [rdi+18h], rbp                                                 ; +0x10e, 0x1404c230e\nmov     r8, 0FFFFFFFFFFFFFFFFh                                         ; +0x112, 0x1404c2312\nnop     dword ptr [rax+00000000h]                                      ; +0x119, 0x1404c2319\ninc     r8                                                             ; +0x120, 0x1404c2320\ncmp     byte ptr [rax+r8], 0                                           ; +0x123, 0x1404c2323\njnz     short loc_1404C2320                                            ; +0x128, 0x1404c2328\nmov     rdx, rax                                                       ; +0x12a, 0x1404c232a\nmov     rcx, rdi                                                       ; +0x12d, 0x1404c232d\ncall    sub_14003A930                                                  ; +0x130, 0x1404c2330\nnop                                                                    ; +0x135, 0x1404c2335\nlea     rcx, [rsp+2A8h+var_238]                                        ; +0x136, 0x1404c2336\ncall    cs:__imp_??1?$BasicWriter@D@fmt@@QEAA@XZ; fmt::BasicWriter<char>::~BasicWriter<char>(void) ; +0x13b, 0x1404c233b\nmov     rax, rdi                                                       ; +0x141, 0x1404c2341\nmov     rcx, [rsp+2A8h+var_28]                                         ; +0x144, 0x1404c2344\nxor     rcx, rsp; StackCookie                                          ; +0x14c, 0x1404c234c\ncall    __security_check_cookie                                        ; +0x14f, 0x1404c234f\nmov     rbx, [rsp+2A8h+arg_18]                                         ; +0x154, 0x1404c2354\nadd     rsp, 290h                                                      ; +0x15c, 0x1404c235c\npop     rdi                                                            ; +0x163, 0x1404c2363\npop     rsi                                                            ; +0x164, 0x1404c2364\npop     rbp                                                            ; +0x165, 0x1404c2365\nretn                                                                   ; +0x166, 0x1404c2366", "xrefs": ["<???> @ 0x1406147b8", "<???> @ 0x1406dcf50"], "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"}