{"type": "func", "start": 7237936, "end": 7237996, "name": "AutoSaveSettingsLayer::openBackupDirectory", "pseudocode": "// \n// AutoSaveSettingsLayer::openBackupDirectory from 0x6e7130 to 0x6e716c (60 bytes)\n// \n// 1 xrefs:\n// > AutoSaveSettingsLayer::onOpenBackupDir @ 0x6e71ac\n// \n// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:25 +0000\n// \n\nint __fastcall AutoSaveSettingsLayer::openBackupDirectory(AutoSaveSettingsLayer *this)\n{\n  _BYTE v2[12]; // [sp+0h] [bp-14h] BYREF\n\n  AutoSaveSettingsLayer::getBackupDirectory((AutoSaveSettingsLayer *)v2);\n  GameToolbox::directoryExists((int)v2);\n  return std::string::~string((int)v2);\n}", "assembly": "; \n; AutoSaveSettingsLayer::openBackupDirectory from 0x6e7130 to 0x6e716c (60 bytes)\n; \n; 1 xrefs:\n; > AutoSaveSettingsLayer::onOpenBackupDir @ 0x6e71ac\n; \n; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!\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:57:25 +0000\n; \nPUSH            {R4,R5,LR}                                             ; +0x0, 0x6e7130\nSUB             SP, SP, #0x14                                          ; +0x2, 0x6e7132\nLDR             R4, =(__stack_chk_guard_ptr - 0x6E713E)                ; +0x4, 0x6e7134\nMOV             R0, SP; this                                           ; +0x6, 0x6e7136\nMOV             R5, SP                                                 ; +0x8, 0x6e7138\nADD             R4, PC; __stack_chk_guard_ptr                          ; +0xa, 0x6e713a\nLDR             R4, [R4]; __stack_chk_guard                            ; +0xc, 0x6e713c\nLDR             R3, [R4]                                               ; +0xe, 0x6e713e\nSTR             R3, [SP,#0x14+var_8]                                   ; +0x10, 0x6e7140\nBL              _ZN21AutoSaveSettingsLayer18getBackupDirectoryEv; AutoSaveSettingsLayer::getBackupDirectory(void) ; +0x12, 0x6e7142\nMOV             R0, SP                                                 ; +0x16, 0x6e7146\nBL              _ZN11GameToolbox15directoryExistsERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GameToolbox::directoryExists(std::string const&) ; +0x18, 0x6e7148\nMOV             R0, SP                                                 ; +0x1c, 0x6e714c\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x1e, 0x6e714e\nLDR             R2, [SP,#0x14+var_8]                                   ; +0x22, 0x6e7152\nLDR             R3, [R4]                                               ; +0x24, 0x6e7154\nCMP             R2, R3                                                 ; +0x26, 0x6e7156\nBEQ             loc_6E7168                                             ; +0x28, 0x6e7158\nBLX             __stack_chk_fail                                       ; +0x2a, 0x6e715a\nMOV             R0, R5                                                 ; +0x2e, 0x6e715e\nBL              _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x30, 0x6e7160\nBL              __cxa_end_cleanup                                      ; +0x34, 0x6e7164\nADD             SP, SP, #0x14                                          ; +0x38, 0x6e7168\nPOP             {R4,R5,PC}                                             ; +0x3a, 0x6e716a", "xrefs": ["AutoSaveSettingsLayer::onOpenBackupDir @ 0x6e71ac"], "is_objc": false, "is_32_bit": true, "is_64_bit": false, "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"}