; ; CreatorLayer::onSecretVault from 0x493d78 to 0x493f2e (438 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:49:39 +0000 ; PUSH.W {R4-R9,LR} ; +0x0, 0x493d78 SUB SP, SP, #0x34 ; +0x4, 0x493d7c LDR.W R8, =(__stack_chk_guard_ptr - 0x493D88) ; +0x6, 0x493d7e MOV R5, R0 ; +0xa, 0x493d82 ADD R8, PC; __stack_chk_guard_ptr ; +0xc, 0x493d84 LDR.W R8, [R8]; __stack_chk_guard ; +0xe, 0x493d86 LDR.W R3, [R8] ; +0x12, 0x493d8a STR R3, [SP,#0x34+var_8] ; +0x16, 0x493d8e BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x18, 0x493d90 LDR R1, =(a13 - 0x493D9A); "13" ; +0x1c, 0x493d94 ADD R1, PC; "13" ; +0x1e, 0x493d96 BL _ZN16GameStatsManager7getStatEPKc; GameStatsManager::getStat(char const*) ; +0x20, 0x493d98 CMP R0, #0x31 ; '1' ; +0x24, 0x493d9c BLE loc_493DBE ; +0x26, 0x493d9e BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x28, 0x493da0 MOV R4, R0 ; +0x2c, 0x493da4 BL _ZN12SecretLayer25sceneEv; SecretLayer2::scene(void) ; +0x2e, 0x493da6 MOV R1, R0; float ; +0x32, 0x493daa MOV.W R0, #0x3F000000; this ; +0x34, 0x493dac BL _ZN7cocos2d16CCTransitionFade6createEfPNS_7CCSceneE; cocos2d::CCTransitionFade::create(float,cocos2d::CCScene *) ; +0x38, 0x493db0 MOV R1, R0; lpsrc ; +0x3c, 0x493db4 MOV R0, R4; this ; +0x3e, 0x493db6 BL _ZN7cocos2d10CCDirector12replaceSceneEPNS_7CCSceneE; cocos2d::CCDirector::replaceScene(cocos2d::CCScene *) ; +0x40, 0x493db8 B loc_493F1A ; +0x44, 0x493dbc ADD R4, SP, #0x34+var_2C ; +0x46, 0x493dbe LDR R1, =(aZzz - 0x493DCC); "zzz" ; +0x48, 0x493dc0 MOVS R2, #3 ; +0x4a, 0x493dc2 MOVS R3, #0 ; +0x4c, 0x493dc4 MOV R0, R4 ; +0x4e, 0x493dc6 ADD R1, PC; "zzz" ; +0x50, 0x493dc8 STR R3, [SP,#0x34+var_2C] ; +0x52, 0x493dca STR R3, [SP,#0x34+var_28] ; +0x54, 0x493dcc STR R3, [SP,#0x34+var_24] ; +0x56, 0x493dce BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x58, 0x493dd0 LDR.W R6, [R5,#0x160] ; +0x5c, 0x493dd4 CMP R6, #0 ; +0x60, 0x493dd8 BGE loc_493DFE ; +0x62, 0x493dda BLX rand ; +0x64, 0x493ddc VMOV.F32 S15, #10.0 ; +0x68, 0x493de0 VMOV S14, R0 ; +0x6c, 0x493de4 VCVT.F32.S32 S14, S14, #0x1F ; +0x70, 0x493de8 VMUL.F32 S15, S14, S15 ; +0x74, 0x493dec VMOV R0, S15 ; +0x78, 0x493df0 BLX lroundf ; +0x7c, 0x493df4 STR.W R0, [R5,#0x160] ; +0x80, 0x493df8 B loc_493E04 ; +0x84, 0x493dfc ADDS R6, #1 ; +0x86, 0x493dfe STR.W R6, [R5,#0x160] ; +0x88, 0x493e00 LDR.W R3, [R5,#0x160] ; +0x8c, 0x493e04 CMP R3, #0xA ; +0x90, 0x493e08 ITT GT ; +0x92, 0x493e0a MOVGT R3, #0 ; +0x94, 0x493e0c STRGT.W R3, [R5,#0x160] ; +0x96, 0x493e0e LDR.W R3, [R5,#0x160] ; +0x9a, 0x493e12 CMP R3, #0xA; switch 11 cases ; +0x9e, 0x493e16 BHI def_493E1A; jumptable 00493E1A default case ; +0xa0, 0x493e18 TBB.W [PC,R3]; switch jump ; +0xa2, 0x493e1a DCB 6; jump table for switch statement ; +0xa6, 0x493e1e DCB 0xA ; +0xa7, 0x493e1f DCB 0xE ; +0xa8, 0x493e20 DCB 0x12 ; +0xa9, 0x493e21 DCB 0x16 ; +0xaa, 0x493e22 DCB 0x1A ; +0xab, 0x493e23 DCB 0x1E ; +0xac, 0x493e24 DCB 0x22 ; +0xad, 0x493e25 DCB 0x26 ; +0xae, 0x493e26 DCB 0x2A ; +0xaf, 0x493e27 DCB 0x2E ; +0xb0, 0x493e28 ALIGN 2 ; +0xb1, 0x493e29 LDR R1, =(aYouAreNotReady - 0x493E32); jumptable 00493E1A case 0 ; +0xb2, 0x493e2a MOV R0, R4 ; +0xb4, 0x493e2c ADD R1, PC; "You are not ready..." ; +0xb6, 0x493e2e B loc_493E80 ; +0xb8, 0x493e30 LDR R1, =(aICanTLetYouIn - 0x493E3A); jumptable 00493E1A case 1 ; +0xba, 0x493e32 MOV R0, R4 ; +0xbc, 0x493e34 ADD R1, PC; "I can't let you in." ; +0xbe, 0x493e36 B loc_493E80 ; +0xc0, 0x493e38 LDR R1, =(aPlayerUsedKnoc - 0x493E42); jumptable 00493E1A case 2 ; +0xc2, 0x493e3a MOV R0, R4 ; +0xc4, 0x493e3c ADD R1, PC; "Player used knock.\nIt's not very"... ; +0xc6, 0x493e3e B loc_493E80 ; +0xc8, 0x493e40 LDR R1, =(aDonTYouHaveSom - 0x493E4A); jumptable 00493E1A case 3 ; +0xca, 0x493e42 MOV R0, R4 ; +0xcc, 0x493e44 ADD R1, PC; "Don't you have something better to do?" ; +0xce, 0x493e46 B loc_493E80 ; +0xd0, 0x493e48 LDR R1, =(aThatIsABadIdea - 0x493E52); jumptable 00493E1A case 4 ; +0xd2, 0x493e4a MOV R0, R4 ; +0xd4, 0x493e4c ADD R1, PC; "That is a bad idea..." ; +0xd6, 0x493e4e B loc_493E80 ; +0xd8, 0x493e50 LDR R1, =(aD030D030 - 0x493E5A); jumptable 00493E1A case 5 ; +0xda, 0x493e52 MOV R0, R4 ; +0xdc, 0x493e54 ADD R1, PC; "..." ; +0xde, 0x493e56 B loc_493E80 ; +0xe0, 0x493e58 LDR R1, =(aIGuessYouDonTL - 0x493E62); jumptable 00493E1A case 6 ; +0xe2, 0x493e5a MOV R0, R4 ; +0xe4, 0x493e5c ADD R1, PC; "I guess you don't like rules..." ; +0xe6, 0x493e5e B loc_493E80 ; +0xe8, 0x493e60 LDR R1, =(aRubrubToldMeNo - 0x493E6A); jumptable 00493E1A case 7 ; +0xea, 0x493e62 MOV R0, R4 ; +0xec, 0x493e64 ADD R1, PC; "RubRub told me not to let anyone in." ; +0xee, 0x493e66 B loc_493E80 ; +0xf0, 0x493e68 LDR R1, =(aThisIsNotTheDo - 0x493E72); jumptable 00493E1A case 8 ; +0xf2, 0x493e6a MOV R0, R4 ; +0xf4, 0x493e6c ADD R1, PC; "This is not the door you are looking fo"... ; +0xf6, 0x493e6e B loc_493E80 ; +0xf8, 0x493e70 LDR R1, =(aIDonTUnderstan - 0x493E7A); jumptable 00493E1A case 9 ; +0xfa, 0x493e72 MOV R0, R4 ; +0xfc, 0x493e74 ADD R1, PC; "I don't understand why you keep clickin"... ; +0xfe, 0x493e76 B loc_493E80 ; +0x100, 0x493e78 LDR R1, =(aTrustMeD030You - 0x493E82); jumptable 00493E1A case 10 ; +0x102, 0x493e7a MOV R0, R4; int ; +0x104, 0x493e7c ADD R1, PC; "Trust me, you don't want to come "... ; +0x106, 0x493e7e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6assignEPKc; std::string::assign(char const*) ; +0x108, 0x493e80 ADD R6, SP, #0x34+var_20; jumptable 00493E1A default case ; +0x10c, 0x493e84 LDR R1, =(aTheKeymaster - 0x493E92); "The Keymaster" ; +0x10e, 0x493e86 MOVS R2, #0xD ; +0x110, 0x493e88 MOVS R3, #0 ; +0x112, 0x493e8a MOV R0, R6 ; +0x114, 0x493e8c ADD R1, PC; "The Keymaster" ; +0x116, 0x493e8e STR R3, [SP,#0x34+var_20] ; +0x118, 0x493e90 STR R3, [SP,#0x34+var_1C] ; +0x11a, 0x493e92 STR R3, [SP,#0x34+var_18] ; +0x11c, 0x493e94 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEE6__initEPKcj; std::string::__init(char const*,uint) ; +0x11e, 0x493e96 ADD R7, SP, #0x34+var_14 ; +0x122, 0x493e9a MOV R1, R4 ; +0x124, 0x493e9c MOV R0, R7 ; +0x126, 0x493e9e BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEEC2ERKS5_; std::string::basic_string(std::string const&) ; +0x128, 0x493ea0 MOV R3, SP ; +0x12c, 0x493ea4 MOVS R2, #0 ; +0x12e, 0x493ea6 STR.W R2, [R3+0x34+var_34],#4 ; +0x130, 0x493ea8 MOV R0, R6 ; +0x134, 0x493eac LDR R2, =(word_BEBFC0 - 0x493EB4) ; +0x136, 0x493eae ADD R2, PC; word_BEBFC0 ; +0x138, 0x493eb0 LDRH R1, [R2] ; +0x13a, 0x493eb2 LDRB R2, [R2,#(byte_BEBFC2 - 0xBEBFC0)] ; +0x13c, 0x493eb4 STRH.W R1, [SP,#0x34+var_30] ; +0x13e, 0x493eb6 MOV R1, R7 ; +0x142, 0x493eba STRB R2, [R3,#2] ; +0x144, 0x493ebc MOVS R2, #2 ; +0x146, 0x493ebe MOV.W R3, #0x3F800000 ; +0x148, 0x493ec0 BL _ZN12DialogObject6createENSt6__ndk112basic_stringIcNS0_11char_traitsIcEENS0_9allocatorIcEEEES6_ifbN7cocos2d10_ccColor3BE; DialogObject::create(std::string,std::string,int,float,bool,cocos2d::_ccColor3B) ; +0x14c, 0x493ec4 MOVS R1, #(dword_0+2); DialogObject * ; +0x150, 0x493ec8 BL _ZN11DialogLayer6createEP12DialogObjecti; DialogLayer::create(DialogObject *,int) ; +0x152, 0x493eca MOV R9, R0 ; +0x156, 0x493ece MOV R0, R7 ; +0x158, 0x493ed0 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x15a, 0x493ed2 MOV R0, R6 ; +0x15e, 0x493ed6 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x160, 0x493ed8 LDR R3, [R5] ; +0x164, 0x493edc MOV R0, R5 ; +0x166, 0x493ede MOV R1, R9 ; +0x168, 0x493ee0 MOVS R2, #0x64 ; 'd' ; +0x16a, 0x493ee2 LDR.W R3, [R3,#0xE8] ; +0x16c, 0x493ee4 BLX R3 ; +0x170, 0x493ee8 MOV R0, R9 ; +0x172, 0x493eea MOVS R1, #0 ; +0x174, 0x493eec BL _ZN11DialogLayer19updateChatPlacementE19DialogChatPlacement; DialogLayer::updateChatPlacement(DialogChatPlacement) ; +0x176, 0x493eee MOV R0, R9; this ; +0x17a, 0x493ef2 BL _ZN11DialogLayer19animateInRandomSideEv; DialogLayer::animateInRandomSide(void) ; +0x17c, 0x493ef4 MOV R0, R4 ; +0x180, 0x493ef8 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x182, 0x493efa B loc_493F1A ; +0x186, 0x493efe MOV R0, R7 ; +0x188, 0x493f00 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x18a, 0x493f02 B loc_493F08 ; +0x18e, 0x493f06 MOV R0, R6 ; +0x190, 0x493f08 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x192, 0x493f0a B loc_493F10 ; +0x196, 0x493f0e MOV R0, R4 ; +0x198, 0x493f10 BL _ZNSt6__ndk112basic_stringIcNS_11char_traitsIcEENS_9allocatorIcEEED2Ev; std::string::~string() ; +0x19a, 0x493f12 BL __cxa_end_cleanup ; +0x19e, 0x493f16 LDR R2, [SP,#0x34+var_8] ; +0x1a2, 0x493f1a LDR.W R3, [R8] ; +0x1a4, 0x493f1c CMP R2, R3 ; +0x1a8, 0x493f20 BEQ loc_493F28 ; +0x1aa, 0x493f22 BLX __stack_chk_fail ; +0x1ac, 0x493f24 ADD SP, SP, #0x34 ; '4' ; +0x1b0, 0x493f28 POP.W {R4-R9,PC} ; +0x1b2, 0x493f2a