{"type": "func", "start": 4300406924, "end": 4300407028, "name": "AutoBackupPopup::backupDirectory", "pseudocode": "// \n// AutoBackupPopup::backupDirectory from 0x10053008c to 0x1005300f4 (104 bytes)\n// \n// 7 xrefs:\n// > LevelEditorLayer::doAutoBackup @ 0x10040b870\n// > AutoBackupPopup::init @ 0x10052fb10\n// > sub_100530498 @ 0x1005304b0\n// > sub_100532E54 @ 0x100532e74\n// > sub_100532F70 @ 0x100532f94\n// > sub_1005331C8 @ 0x1005331f0\n// > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x1005335e8\n// \n// This function is hookable on this platform (idp: arm, 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 11:07:20 +0000\n// \n\nvoid __usercall AutoBackupPopup::backupDirectory(__int64 a1@<X8>)\n{\n  __int64 v2; // x8\n  __int64 v3; // x8\n  __int64 v4; // x8\n  int v5; // w8\n\n  sub_1001683A8(a1);\n  v2 = *(char *)(a1 + 23);\n  if ( v2 < 0 )\n  {\n    v4 = *(_QWORD *)(a1 + 8);\n    if ( !v4 )\n      return;\n    v3 = *(_QWORD *)a1 + v4;\n  }\n  else\n  {\n    if ( !*(_BYTE *)(a1 + 23) )\n      return;\n    v3 = a1 + v2;\n  }\n  v5 = *(unsigned __int8 *)(v3 - 1);\n  if ( v5 != 47 && v5 != 92 )\n    std::string::append((std::string *)a1, \"/\");\n}", "assembly": "; \n; AutoBackupPopup::backupDirectory from 0x10053008c to 0x1005300f4 (104 bytes)\n; \n; 7 xrefs:\n; > LevelEditorLayer::doAutoBackup @ 0x10040b870\n; > AutoBackupPopup::init @ 0x10052fb10\n; > sub_100530498 @ 0x1005304b0\n; > sub_100532E54 @ 0x100532e74\n; > sub_100532F70 @ 0x100532f94\n; > sub_1005331C8 @ 0x1005331f0\n; > AutoBackupOptionsPopup::FLAlert_Clicked @ 0x1005335e8\n; \n; This function is hookable on this platform (idp: arm, 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 11:07:20 +0000\n; \nSTP             X20, X19, [SP,#-0x10+var_10]!                          ; +0x0, 0x10053008c\nSTP             X29, X30, [SP,#0x10+var_s0]                            ; +0x4, 0x100530090\nADD             X29, SP, #0x10                                         ; +0x8, 0x100530094\nMOV             X19, X8                                                ; +0xc, 0x100530098\nBL              sub_1001683A8                                          ; +0x10, 0x10053009c\nLDRSB           X8, [X19,#0x17]                                        ; +0x14, 0x1005300a0\nTBNZ            X8, #0x3F, loc_1005300B4 ; '?'                         ; +0x18, 0x1005300a4\nCBZ             W8, loc_1005300E8                                      ; +0x1c, 0x1005300a8\nADD             X8, X19, X8                                            ; +0x20, 0x1005300ac\nB               loc_1005300C4                                          ; +0x24, 0x1005300b0\nLDR             X8, [X19,#8]                                           ; +0x28, 0x1005300b4\nCBZ             X8, loc_1005300E8                                      ; +0x2c, 0x1005300b8\nLDR             X9, [X19]                                              ; +0x30, 0x1005300bc\nADD             X8, X9, X8                                             ; +0x34, 0x1005300c0\nLDURB           W8, [X8,#-1]                                           ; +0x38, 0x1005300c4\nCMP             W8, #0x2F ; '/'                                        ; +0x3c, 0x1005300c8\nB.EQ            loc_1005300E8                                          ; +0x40, 0x1005300cc\nCMP             W8, #0x5C ; '\\'                                        ; +0x44, 0x1005300d0\nB.EQ            loc_1005300E8                                          ; +0x48, 0x1005300d4\nADRL            X1, asc_10080AB1D; \"/\"                                 ; +0x4c, 0x1005300d8\nMOV             X0, X19; this                                          ; +0x54, 0x1005300e0\nBL              __ZNSt3__112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6appendEPKc; std::string::append(char const*) ; +0x58, 0x1005300e4\nLDP             X29, X30, [SP,#0x10+var_s0]                            ; +0x5c, 0x1005300e8\nLDP             X20, X19, [SP+0x10+var_10],#0x20                       ; +0x60, 0x1005300ec\nRET                                                                    ; +0x64, 0x1005300f0", "xrefs": ["LevelEditorLayer::doAutoBackup @ 0x10040b870", "AutoBackupPopup::init @ 0x10052fb10", "sub_100530498 @ 0x1005304b0", "sub_100532E54 @ 0x100532e74", "sub_100532F70 @ 0x100532f94", "sub_1005331C8 @ 0x1005331f0", "AutoBackupOptionsPopup::FLAlert_Clicked @ 0x1005335e8"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "arm", "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"}