; ; DrawGridLayer::loadTimeMarkers from 0x36f794 to 0x36f914 (384 bytes) ; ; 3 xrefs: ; > LevelEditorLayer::levelSettingsUpdated @ 0x36f962 ; > LevelEditorLayer::levelSettingsUpdated @ 0x36f976 ; > DrawGridLayer::updateTimeMarkers @ 0x36fa02 ; ; 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, 0x36f794 MOV R4, R0 ; +0x4, 0x36f798 LDR R5, =(__stack_chk_guard_ptr - 0x36F7AA) ; +0x6, 0x36f79a ADD.W R0, R0, #0x180 ; +0x8, 0x36f79c VPUSH {D8-D10} ; +0xc, 0x36f7a0 MOV R6, R1 ; +0x10, 0x36f7a4 ADD R5, PC; __stack_chk_guard_ptr ; +0x12, 0x36f7a6 LDR R5, [R5]; __stack_chk_guard ; +0x14, 0x36f7a8 LDR R3, [R5] ; +0x16, 0x36f7aa SUB SP, SP, #0x18 ; +0x18, 0x36f7ac STR R3, [SP,#0x18+var_4] ; +0x1a, 0x36f7ae BL sub_775D40 ; +0x1c, 0x36f7b0 LDR.W R0, [R4,#0x188]; this ; +0x20, 0x36f7b4 CBZ R0, loc_36F7C4 ; +0x24, 0x36f7b8 BL _ZN7cocos2d8CCObject7releaseEv; cocos2d::CCObject::release(void) ; +0x26, 0x36f7ba MOVS R3, #0 ; +0x2a, 0x36f7be STR.W R3, [R4,#0x188] ; +0x2c, 0x36f7c0 LDR.W R3, [R4,#0x180] ; +0x30, 0x36f7c4 LDR.W R3, [R3,#-0xC] ; +0x34, 0x36f7c8 CMP R3, #0 ; +0x38, 0x36f7cc BEQ.W loc_36F8FE ; +0x3a, 0x36f7ce LDR.W R3, [R4,#0x17C] ; +0x3e, 0x36f7d2 LDR.W R3, [R3,#0x8C0] ; +0x42, 0x36f7d6 LDR.W R3, [R3,#0x110] ; +0x46, 0x36f7da SUBS R3, #1; switch 4 cases ; +0x4a, 0x36f7de CMP R3, #3 ; +0x4c, 0x36f7e0 BHI def_36F7E4; jumptable 0036F7E4 default case ; +0x4e, 0x36f7e2 TBB.W [PC,R3]; switch jump ; +0x50, 0x36f7e4 DCB 2; jump table for switch statement ; +0x54, 0x36f7e8 DCB 5 ; +0x55, 0x36f7e9 DCB 8 ; +0x56, 0x36f7ea DCB 0xB ; +0x57, 0x36f7eb LDR.W R3, [R4,#0x1A4]; jumptable 0036F7E4 case 1 ; +0x58, 0x36f7ec B loc_36F808 ; +0x5c, 0x36f7f0 LDR.W R3, [R4,#0x1AC]; jumptable 0036F7E4 case 2 ; +0x5e, 0x36f7f2 B loc_36F808 ; +0x62, 0x36f7f6 LDR.W R3, [R4,#0x1B0]; jumptable 0036F7E4 case 3 ; +0x64, 0x36f7f8 B loc_36F808 ; +0x68, 0x36f7fc LDR.W R3, [R4,#0x1B4]; jumptable 0036F7E4 case 4 ; +0x6a, 0x36f7fe B loc_36F808 ; +0x6e, 0x36f802 LDR.W R3, [R4,#0x1A8]; jumptable 0036F7E4 default case ; +0x70, 0x36f804 ADD.W R8, SP, #0x18+var_10 ; +0x74, 0x36f808 LDR R1, =(asc_94A0FC - 0x36F818); "~" ; +0x78, 0x36f80c STR.W R3, [R4,#0x1A0] ; +0x7a, 0x36f80e MOV R0, R6 ; +0x7e, 0x36f812 ADD R1, PC; "~" ; +0x80, 0x36f814 MOV R2, R8 ; +0x82, 0x36f816 MOVS R3, #0 ; +0x84, 0x36f818 STR R3, [SP,#0x18+var_10] ; +0x86, 0x36f81a STR R3, [SP,#0x18+var_C] ; +0x88, 0x36f81c STR R3, [SP,#0x18+var_8] ; +0x8a, 0x36f81e BL sub_36F6EC ; +0x8c, 0x36f820 LDR R0, [SP,#0x18+var_10] ; +0x90, 0x36f824 LDR R3, [SP,#0x18+var_C] ; +0x92, 0x36f826 SUBS R0, R3, R0 ; +0x94, 0x36f828 ASRS R0, R0, #2; this ; +0x96, 0x36f82a BL _ZN7cocos2d7CCArray18createWithCapacityEj; cocos2d::CCArray::createWithCapacity(uint) ; +0x98, 0x36f82c STR.W R0, [R4,#0x188] ; +0x9c, 0x36f830 BL _ZN7cocos2d8CCObject6retainEv; cocos2d::CCObject::retain(void) ; +0xa0, 0x36f834 LDR.W R3, [R4,#0x17C] ; +0xa4, 0x36f838 MOVS R6, #0 ; +0xa8, 0x36f83c LDR.W R9, =(a02f_0 - 0x36F84E); "%.02f" ; +0xaa, 0x36f83e LDR.W R10, =(a02f_0 - 0x36F854); "%.02f" ; +0xae, 0x36f842 LDR.W R3, [R3,#0x8C0] ; +0xb2, 0x36f846 ADD R9, PC; "%.02f" ; +0xb6, 0x36f84a VLDR S20, =0.8 ; +0xb8, 0x36f84c ADD R10, PC; "%.02f" ; +0xbc, 0x36f850 VLDR S17, [R3,#0x11C] ; +0xbe, 0x36f852 LDR R2, [SP,#0x18+var_10] ; +0xc2, 0x36f856 LDR R3, [SP,#0x18+var_C] ; +0xc4, 0x36f858 SUBS R3, R3, R2 ; +0xc6, 0x36f85a CMP.W R6, R3,ASR#2 ; +0xc8, 0x36f85c BCS loc_36F8EC ; +0xcc, 0x36f860 LDR.W R0, [R2,R6,LSL#2]; char * ; +0xce, 0x36f862 LSLS R7, R6, #2 ; +0xd2, 0x36f866 BLX atof ; +0xd4, 0x36f868 LDR R3, [SP,#0x18+var_10] ; +0xd8, 0x36f86c ADD R7, R3 ; +0xda, 0x36f86e VMOV D9, R0, R1 ; +0xdc, 0x36f870 LDR R0, [R7,#4]; char * ; +0xe0, 0x36f874 BLX atof ; +0xe2, 0x36f876 VMOV D7, R0, R1 ; +0xe6, 0x36f87a VCVT.F32.F64 S16, D7 ; +0xea, 0x36f87e VCMP.F32 S16, #0.0 ; +0xee, 0x36f882 VMRS APSR_nzcv, FPSCR ; +0xf2, 0x36f886 BEQ loc_36F898 ; +0xf6, 0x36f88a VCMPE.F32 S16, S20 ; +0xf8, 0x36f88c VMRS APSR_nzcv, FPSCR ; +0xfc, 0x36f890 BLT loc_36F8E8 ; +0x100, 0x36f894 B loc_36F89C ; +0x102, 0x36f896 VLDR S16, =0.8 ; +0x104, 0x36f898 MOV R0, SP; this ; +0x108, 0x36f89c MOV R1, R4; float ; +0x10a, 0x36f89e LDR.W R7, [R4,#0x188] ; +0x10c, 0x36f8a0 VCVT.F32.F64 S18, D9 ; +0x110, 0x36f8a4 VSUB.F32 S15, S18, S17 ; +0x114, 0x36f8a8 VMOV R2, S15 ; +0x118, 0x36f8ac BL _ZN13DrawGridLayer10posForTimeEf; DrawGridLayer::posForTime(float) ; +0x11c, 0x36f8b0 VLDR S15, [SP,#0x18+var_18] ; +0x120, 0x36f8b4 MOV R0, R9; this ; +0x124, 0x36f8b8 VCVT.F64.F32 D7, S15 ; +0x126, 0x36f8ba VMOV R2, R3, D7 ; +0x12a, 0x36f8be BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x12e, 0x36f8c2 MOV R1, R0; cocos2d::CCObject * ; +0x132, 0x36f8c6 MOV R0, R7; this ; +0x134, 0x36f8c8 BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x136, 0x36f8ca VCVT.F64.F32 D7, S16 ; +0x13a, 0x36f8ce MOV R0, R10; this ; +0x13e, 0x36f8d2 LDR.W R7, [R4,#0x188] ; +0x140, 0x36f8d4 VMOV R2, R3, D7 ; +0x144, 0x36f8d8 BL _ZN7cocos2d8CCString16createWithFormatEPKcz; cocos2d::CCString::createWithFormat(char const*,...) ; +0x148, 0x36f8dc MOV R1, R0; cocos2d::CCObject * ; +0x14c, 0x36f8e0 MOV R0, R7; this ; +0x14e, 0x36f8e2 BL _ZN7cocos2d7CCArray9addObjectEPNS_8CCObjectE; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x150, 0x36f8e4 ADDS R6, #2 ; +0x154, 0x36f8e8 B loc_36F856 ; +0x156, 0x36f8ea MOV R0, R8 ; +0x158, 0x36f8ec BL _ZNSt6vectorISsSaISsEED2Ev; std::vector::~vector() ; +0x15a, 0x36f8ee B loc_36F8FE ; +0x15e, 0x36f8f2 MOV R0, R8 ; +0x160, 0x36f8f4 BL _ZNSt6vectorISsSaISsEED2Ev; std::vector::~vector() ; +0x162, 0x36f8f6 BL __cxa_end_cleanup ; +0x166, 0x36f8fa LDR R2, [SP,#0x18+var_4] ; +0x16a, 0x36f8fe LDR R3, [R5] ; +0x16c, 0x36f900 CMP R2, R3 ; +0x16e, 0x36f902 BEQ loc_36F90A ; +0x170, 0x36f904 BLX __stack_chk_fail ; +0x172, 0x36f906 ADD SP, SP, #0x18 ; +0x176, 0x36f90a VPOP {D8-D10} ; +0x178, 0x36f90c POP.W {R4-R10,PC} ; +0x17c, 0x36f910