; ; AutoSaveSettingsLayer::setBackupDirectory from 0x6e6d28 to 0x6e6d8c (100 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 {R4-R7,LR} ; +0x0, 0x6e6d28 SUB SP, SP, #0x14 ; +0x2, 0x6e6d2a LDR R4, =(__stack_chk_guard_ptr - 0x6E6D34) ; +0x4, 0x6e6d2c MOV R5, R1 ; +0x6, 0x6e6d2e ADD R4, PC; __stack_chk_guard_ptr ; +0x8, 0x6e6d30 LDR R4, [R4]; __stack_chk_guard ; +0xa, 0x6e6d32 LDR R3, [R4] ; +0xc, 0x6e6d34 STR R3, [SP,#0x14+var_8] ; +0xe, 0x6e6d36 BL _ZN11GameManager11sharedStateEv; GameManager::sharedState(void) ; +0x10, 0x6e6d38 LDR.W R6, [R0,#0x144] ; +0x14, 0x6e6d3c CBZ R6, loc_6E6D7C ; +0x18, 0x6e6d40 MOV R0, R5 ; +0x1a, 0x6e6d42 MOV R5, SP ; +0x1c, 0x6e6d44 BL _ZN7cocos2d8CCString6createERKNSt6__ndk112basic_stringIcNS1_11char_traitsIcEENS1_9allocatorIcEEEE; cocos2d::CCString::create(std::string const&) ; +0x1e, 0x6e6d46 LDR R1, =(aAutobackupdir - 0x6E6D54); "autoBackupDir" ; +0x22, 0x6e6d4a MOVS R2, #0xD ; +0x24, 0x6e6d4c MOVS R3, #0 ; +0x26, 0x6e6d4e ADD R1, PC; "autoBackupDir" ; +0x28, 0x6e6d50 STR R3, [SP,#0x14+var_14] ; +0x2a, 0x6e6d52 STR R3, [SP,#0x14+var_10] ; +0x2c, 0x6e6d54 STR R3, [SP,#0x14+var_C] ; +0x2e, 0x6e6d56 MOV R7, R0 ; +0x30, 0x6e6d58 MOV R0, SP ; +0x32, 0x6e6d5a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x34, 0x6e6d5c MOV R0, R6; int ; +0x38, 0x6e6d60 MOV R1, R7; this ; +0x3a, 0x6e6d62 MOV R2, SP ; +0x3c, 0x6e6d64 BL _ZN7cocos2d12CCDictionary9setObjectEPNS_8CCObjectERKNSt6__ndk112basic_stringIcNS3_11char_traitsIcEENS3_9allocatorIcEEEE; cocos2d::CCDictionary::setObject(cocos2d::CCObject *,std::string const&) ; +0x3e, 0x6e6d66 MOV R0, SP ; +0x42, 0x6e6d6a BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x44, 0x6e6d6c B loc_6E6D7C ; +0x48, 0x6e6d70 MOV R0, R5 ; +0x4a, 0x6e6d72 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x4c, 0x6e6d74 BL __cxa_end_cleanup ; +0x50, 0x6e6d78 LDR R2, [SP,#0x14+var_8] ; +0x54, 0x6e6d7c LDR R3, [R4] ; +0x56, 0x6e6d7e CMP R2, R3 ; +0x58, 0x6e6d80 BEQ loc_6E6D88 ; +0x5a, 0x6e6d82 BLX __stack_chk_fail ; +0x5c, 0x6e6d84 ADD SP, SP, #0x14 ; +0x60, 0x6e6d88 POP {R4-R7,PC} ; +0x62, 0x6e6d8a