; ; AutoSaveSettingsLayer::onOpenBackupDir from 0x6e7170 to 0x6e722e (190 bytes) ; ; 0 xrefs: ; ; This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 11:57:25 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x6e7170 SUB SP, SP, #0x34 ; +0x4, 0x6e7174 LDR R4, =(__stack_chk_guard_ptr - 0x6E7180) ; +0x6, 0x6e7176 ADD R5, SP, #0x34+var_2C ; +0x8, 0x6e7178 MOV R8, R0 ; +0xa, 0x6e717a ADD R4, PC; __stack_chk_guard_ptr ; +0xc, 0x6e717c LDR R4, [R4]; __stack_chk_guard ; +0xe, 0x6e717e MOV R0, R5; this ; +0x10, 0x6e7180 LDR R3, [R4] ; +0x12, 0x6e7182 STR R3, [SP,#0x34+var_8] ; +0x14, 0x6e7184 BL _ZN21AutoSaveSettingsLayer24getCustomBackupDirectoryEv; AutoSaveSettingsLayer::getCustomBackupDirectory(void) ; +0x16, 0x6e7186 LDRB.W R3, [SP,#0x34+var_2C] ; +0x1a, 0x6e718a LSLS R2, R3, #0x1F ; +0x1e, 0x6e718e ITE PL ; +0x20, 0x6e7190 ASRPL R3, R3, #1 ; +0x22, 0x6e7192 LDRMI R3, [SP,#0x34+var_28] ; +0x24, 0x6e7194 CBZ R3, loc_6E71AC ; +0x26, 0x6e7196 MOV R0, R5 ; +0x28, 0x6e7198 BL _ZN11GameToolbox15directoryExistsERKNSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEE; GameToolbox::directoryExists(std::string const&) ; +0x2a, 0x6e719a CBNZ R0, loc_6E71AC ; +0x2e, 0x6e719e B loc_6E71C2 ; +0x30, 0x6e71a0 MOV R0, R5 ; +0x32, 0x6e71a2 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x34, 0x6e71a4 BL __cxa_end_cleanup ; +0x38, 0x6e71a8 BL _ZN21AutoSaveSettingsLayer19openBackupDirectoryEv; AutoSaveSettingsLayer::openBackupDirectory(void) ; +0x3c, 0x6e71ac MOV R0, R5 ; +0x40, 0x6e71b0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x42, 0x6e71b2 LDR R2, [SP,#0x34+var_8] ; +0x46, 0x6e71b6 LDR R3, [R4] ; +0x48, 0x6e71b8 CMP R2, R3 ; +0x4a, 0x6e71ba BEQ loc_6E7228 ; +0x4c, 0x6e71bc BLX __stack_chk_fail ; +0x4e, 0x6e71be LDR.W R3, [R8] ; +0x52, 0x6e71c2 ADD R6, SP, #0x34+var_20 ; +0x56, 0x6e71c6 LDR R1, =(aDirectoryNotFo - 0x6E71D4); "Directory not found" ; +0x58, 0x6e71c8 MOVS R2, #0x13 ; +0x5a, 0x6e71ca STR R0, [SP,#0x34+var_20] ; +0x5c, 0x6e71cc STR R0, [SP,#0x34+var_1C] ; +0x5e, 0x6e71ce ADD R1, PC; "Directory not found" ; +0x60, 0x6e71d0 STR R0, [SP,#0x34+var_18] ; +0x62, 0x6e71d2 MOV R0, R6 ; +0x64, 0x6e71d4 LDR.W R9, [R3,#0xE8] ; +0x66, 0x6e71d6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x6a, 0x6e71da ADD R7, SP, #0x34+var_14 ; +0x6e, 0x6e71de LDR R1, =(unk_B6B226 - 0x6E71EC) ; +0x70, 0x6e71e0 MOVS R2, #0 ; +0x72, 0x6e71e2 STR R2, [SP,#0x34+var_14] ; +0x74, 0x6e71e4 MOV R0, R7 ; +0x76, 0x6e71e6 ADD R1, PC; unk_B6B226 ; +0x78, 0x6e71e8 STR R2, [SP,#0x34+var_10] ; +0x7a, 0x6e71ea STR R2, [SP,#0x34+var_C] ; +0x7c, 0x6e71ec BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x7e, 0x6e71ee STR R7, [SP,#0x34+var_34] ; +0x82, 0x6e71f2 MOV R0, R6 ; +0x84, 0x6e71f4 MOV.W R1, #0x3F000000 ; +0x86, 0x6e71f6 LDR R2, =0x3F19999A ; +0x8a, 0x6e71fa MOVS R3, #0x96 ; +0x8c, 0x6e71fc BL _ZN14TextAlertPopup6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEEffiS6_; TextAlertPopup::create(std::string,float,float,int,std::string) ; +0x8e, 0x6e71fe MOV R1, R0 ; +0x92, 0x6e7202 MOVS R2, #0x64 ; 'd' ; +0x94, 0x6e7204 MOV R0, R8 ; +0x96, 0x6e7206 BLX R9 ; +0x98, 0x6e7208 MOV R0, R7 ; +0x9a, 0x6e720a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x9c, 0x6e720c MOV R0, R6 ; +0xa0, 0x6e7210 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xa2, 0x6e7212 B loc_6E71B0 ; +0xa6, 0x6e7216 MOV R0, R7 ; +0xa8, 0x6e7218 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xaa, 0x6e721a B loc_6E7220 ; +0xae, 0x6e721e MOV R0, R6 ; +0xb0, 0x6e7220 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0xb2, 0x6e7222 B loc_6E71A2 ; +0xb6, 0x6e7226 ADD SP, SP, #0x34 ; '4' ; +0xb8, 0x6e7228 POP.W {R4-R9,PC} ; +0xba, 0x6e722a