; ; ChallengesPage::updateTimers from 0x4cce70 to 0x4ccfb8 (328 bytes) ; ; 3 xrefs: ; > ChallengesPage::challengeStatusFinished @ 0x4ccfe2 ; > ChallengesPage::challengeStatusFinished @ 0x4cd042 ; > ChallengesPage::claimItem @ 0x4cd170 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; PUSH.W {R4-R10,LR} ; +0x0, 0x4cce70 MOV R4, R0 ; +0x4, 0x4cce74 LDR.W R9, =(__stack_chk_guard_ptr - 0x4CCE82) ; +0x6, 0x4cce76 VPUSH {D8} ; +0xa, 0x4cce7a ADD R9, PC; __stack_chk_guard_ptr ; +0xe, 0x4cce7e LDR.W R9, [R9]; __stack_chk_guard ; +0x10, 0x4cce80 LDR.W R3, [R9] ; +0x14, 0x4cce84 SUB SP, SP, #0x10 ; +0x18, 0x4cce88 STR R3, [SP,#0x10+var_4] ; +0x1a, 0x4cce8a BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x1c, 0x4cce8c BL _ZN16GameStatsManager19areChallengesLoadedEv; GameStatsManager::areChallengesLoaded(void) ; +0x20, 0x4cce90 CMP R0, #0 ; +0x24, 0x4cce94 BEQ.W loc_4CCFA0 ; +0x26, 0x4cce96 ADD R7, SP, #0x10+var_C ; +0x2a, 0x4cce9a MOVS R0, #0; clock_id ; +0x2c, 0x4cce9c VLDR D8, =1.0e9 ; +0x2e, 0x4cce9e MOV R8, SP ; +0x32, 0x4ccea2 MOV R1, R7; tp ; +0x34, 0x4ccea4 BLX clock_gettime ; +0x36, 0x4ccea6 VLDR S13, [SP,#0x10+var_8] ; +0x3a, 0x4cceaa VLDR S15, [SP,#0x10+var_C] ; +0x3e, 0x4cceae VCVT.F64.S32 D6, S13 ; +0x42, 0x4cceb2 VDIV.F64 D8, D6, D8 ; +0x46, 0x4cceb6 VCVT.F64.S32 D7, S15 ; +0x4a, 0x4cceba VADD.F64 D8, D7, D8 ; +0x4e, 0x4ccebe BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x52, 0x4ccec2 MOVS R2, #0; bool ; +0x56, 0x4ccec6 VLDR D7, [R0,#0x178] ; +0x58, 0x4ccec8 MOV R0, SP; this ; +0x5c, 0x4ccecc VSUB.F64 D7, D7, D8 ; +0x5e, 0x4ccece VCVT.S32.F64 S15, D7 ; +0x62, 0x4cced2 VMOV R6, S15 ; +0x66, 0x4cced6 BIC.W R6, R6, R6,ASR#31 ; +0x6a, 0x4cceda MOV R1, R6; int ; +0x6e, 0x4ccede BL _ZN11GameToolbox13getTimeStringEib; GameToolbox::getTimeString(int,bool) ; +0x70, 0x4ccee0 LDR.W R5, [R4,#0x200] ; +0x74, 0x4ccee4 LDR R0, =(aNewQuestsInS - 0x4CCEF2); "New quests in: %s" ; +0x78, 0x4ccee8 LDR R1, [SP,#0x10+var_10]; char * ; +0x7a, 0x4cceea LDR R3, [R5] ; +0x7c, 0x4cceec ADD R0, PC; "New quests in: %s" ; +0x7e, 0x4cceee LDR.W R10, [R3,#0x1C8] ; +0x80, 0x4ccef0 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x84, 0x4ccef4 BL _ZNK7cocos2d8CCString10getCStringEv; cocos2d::CCString::getCString(void) ; +0x88, 0x4ccef8 MOV R1, R0 ; +0x8c, 0x4ccefc MOV R0, R5 ; +0x8e, 0x4ccefe BLX R10 ; +0x90, 0x4ccf00 LDR.W R3, [R4,#0x210] ; +0x92, 0x4ccf02 CBNZ R3, loc_4CCF0C ; +0x96, 0x4ccf06 CBZ R6, loc_4CCF48 ; +0x98, 0x4ccf08 B loc_4CCF4E ; +0x9a, 0x4ccf0a LDR R3, [R3,#0x34] ; +0x9c, 0x4ccf0c CBZ R3, loc_4CCF16 ; +0x9e, 0x4ccf0e LDR.W R5, [R3,#0x110] ; +0xa0, 0x4ccf10 B loc_4CCF3E ; +0xa4, 0x4ccf14 MOV R5, R3 ; +0xa6, 0x4ccf16 B loc_4CCF3E ; +0xa8, 0x4ccf18 MOV R0, R7 ; +0xaa, 0x4ccf1a MOV R1, R8 ; +0xac, 0x4ccf1c LDR.W R10, [R3,#0x104] ; +0xae, 0x4ccf1e BL sub_775C20 ; +0xb2, 0x4ccf22 MOV R0, R10 ; +0xb6, 0x4ccf26 MOV R1, R7 ; +0xb8, 0x4ccf28 BL _ZN13ChallengeNode15updateTimeLabelESs; ChallengeNode::updateTimeLabel(std::string) ; +0xba, 0x4ccf2a MOV R0, R7 ; +0xbe, 0x4ccf2e BL sub_774008 ; +0xc0, 0x4ccf30 CBZ R5, loc_4CCF44 ; +0xc4, 0x4ccf34 LDR.W R2, [R5,#0x110] ; +0xc6, 0x4ccf36 MOV R3, R5 ; +0xca, 0x4ccf3a MOV R5, R2 ; +0xcc, 0x4ccf3c CMP R3, #0 ; +0xce, 0x4ccf3e BNE loc_4CCF1A ; +0xd0, 0x4ccf40 B loc_4CCF08 ; +0xd2, 0x4ccf42 MOV R2, R5 ; +0xd4, 0x4ccf44 B loc_4CCF3A ; +0xd6, 0x4ccf46 LDRB.W R3, [R4,#0x209] ; +0xd8, 0x4ccf48 CBZ R3, loc_4CCF56 ; +0xdc, 0x4ccf4c MOV R0, R8 ; +0xde, 0x4ccf4e BL sub_774008 ; +0xe0, 0x4ccf50 B loc_4CCFA0 ; +0xe4, 0x4ccf54 LDR.W R0, [R4,#0x204] ; +0xe6, 0x4ccf56 MOVS R1, #1 ; +0xea, 0x4ccf5a LDR R3, [R0] ; +0xec, 0x4ccf5c LDR.W R3, [R3,#0xA4] ; +0xee, 0x4ccf5e BLX R3 ; +0xf2, 0x4ccf62 LDR.W R0, [R4,#0x200] ; +0xf4, 0x4ccf64 MOVS R1, #0 ; +0xf8, 0x4ccf68 LDR R3, [R0] ; +0xfa, 0x4ccf6a LDR.W R3, [R3,#0xA4] ; +0xfc, 0x4ccf6c BLX R3 ; +0x100, 0x4ccf70 MOVS R3, #1 ; +0x102, 0x4ccf72 STRB.W R3, [R4,#0x209] ; +0x104, 0x4ccf74 MOVS R3, #0 ; +0x108, 0x4ccf78 STRB.W R3, [R4,#0x208] ; +0x10a, 0x4ccf7a BL _ZN16GameStatsManager11sharedStateEv; GameStatsManager::sharedState(void) ; +0x10e, 0x4ccf7e BL _ZN16GameStatsManager19resetChallengeTimerEv; GameStatsManager::resetChallengeTimer(void) ; +0x112, 0x4ccf82 MOV R0, R4; this ; +0x116, 0x4ccf86 BL _ZN14ChallengesPage16tryGetChallengesEv; ChallengesPage::tryGetChallenges(void) ; +0x118, 0x4ccf88 B loc_4CCF4E ; +0x11c, 0x4ccf8c MOV R0, R7 ; +0x11e, 0x4ccf8e BL sub_774008 ; +0x120, 0x4ccf90 B loc_4CCF96 ; +0x124, 0x4ccf94 MOV R0, R8 ; +0x126, 0x4ccf96 BL sub_774008 ; +0x128, 0x4ccf98 BL __cxa_end_cleanup ; +0x12c, 0x4ccf9c LDR R2, [SP,#0x10+var_4] ; +0x130, 0x4ccfa0 LDR.W R3, [R9] ; +0x132, 0x4ccfa2 CMP R2, R3 ; +0x136, 0x4ccfa6 BEQ loc_4CCFAE ; +0x138, 0x4ccfa8 BLX __stack_chk_fail ; +0x13a, 0x4ccfaa ADD SP, SP, #0x10 ; +0x13e, 0x4ccfae VPOP {D8} ; +0x140, 0x4ccfb0 POP.W {R4-R10,PC} ; +0x144, 0x4ccfb4