; ; DrawGridLayer::loadTimeMarkers from 0x14040a3a0 to 0x14040a689 (745 bytes) ; ; 4 xrefs: ; > EditorUI::onPlayback @ 0x1401b4334 ; > LevelEditorLayer::levelSettingsUpdated @ 0x1403ef8bd ; > LevelEditorLayer::updateGameObjects @ 0x1403faeb0 ; > @ 0x140925cc4 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; 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:31:59 +0000 ; mov rax, rsp ; +0x0, 0x14040a3a0 mov [rax+18h], rbx ; +0x3, 0x14040a3a3 mov [rax+20h], rbp ; +0x7, 0x14040a3a7 push rsi ; +0xb, 0x14040a3ab push rdi ; +0xc, 0x14040a3ac push r14 ; +0xd, 0x14040a3ad sub rsp, 0D0h ; +0xf, 0x14040a3af movaps xmmword ptr [rax-28h], xmm6 ; +0x16, 0x14040a3b6 movaps xmmword ptr [rax-38h], xmm7 ; +0x1a, 0x14040a3ba movaps xmmword ptr [rax-48h], xmm8 ; +0x1e, 0x14040a3be movaps xmmword ptr [rax-58h], xmm9 ; +0x23, 0x14040a3c3 movaps xmmword ptr [rax-68h], xmm10 ; +0x28, 0x14040a3c8 mov rax, cs:__security_cookie ; +0x2d, 0x14040a3cd xor rax, rsp ; +0x34, 0x14040a3d4 mov [rsp+0E8h+var_70], rax ; +0x37, 0x14040a3d7 mov r14, rdx ; +0x3c, 0x14040a3dc mov rdi, rcx ; +0x3f, 0x14040a3df mov [rsp+0E8h+var_78], rdx ; +0x42, 0x14040a3e2 add rcx, 210h; void * ; +0x47, 0x14040a3e7 cmp rcx, rdx ; +0x4e, 0x14040a3ee jz short loc_14040A406 ; +0x51, 0x14040a3f1 cmp qword ptr [rdx+18h], 0Fh ; +0x53, 0x14040a3f3 jbe short loc_14040A3FD ; +0x58, 0x14040a3f8 mov rdx, [rdx]; Src ; +0x5a, 0x14040a3fa mov r8, [r14+10h]; Size ; +0x5d, 0x14040a3fd call sub_1400405A0 ; +0x61, 0x14040a401 mov rcx, [rdi+238h] ; +0x66, 0x14040a406 xor ebp, ebp ; +0x6d, 0x14040a40d test rcx, rcx ; +0x6f, 0x14040a40f jz short loc_14040A421 ; +0x72, 0x14040a412 call cs:?release@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::release(void) ; +0x74, 0x14040a414 mov [rdi+238h], rbp ; +0x7a, 0x14040a41a cmp [rdi+220h], rbp ; +0x81, 0x14040a421 jz loc_14040A643 ; +0x88, 0x14040a428 mov rax, [rdi+208h] ; +0x8e, 0x14040a42e mov rcx, [rax+0DC8h] ; +0x95, 0x14040a435 mov edx, [rcx+14Ch] ; +0x9c, 0x14040a43c sub edx, 1 ; +0xa2, 0x14040a442 jz short loc_14040A47E ; +0xa5, 0x14040a445 sub edx, 1 ; +0xa7, 0x14040a447 jz short loc_14040A474 ; +0xaa, 0x14040a44a sub edx, 1 ; +0xac, 0x14040a44c jz short loc_14040A46A ; +0xaf, 0x14040a44f cmp edx, 1 ; +0xb1, 0x14040a451 jz short loc_14040A460 ; +0xb4, 0x14040a454 movss xmm0, dword ptr [rdi+268h] ; +0xb6, 0x14040a456 jmp short loc_14040A486 ; +0xbe, 0x14040a45e movss xmm0, dword ptr [rdi+274h] ; +0xc0, 0x14040a460 jmp short loc_14040A486 ; +0xc8, 0x14040a468 movss xmm0, dword ptr [rdi+270h] ; +0xca, 0x14040a46a jmp short loc_14040A486 ; +0xd2, 0x14040a472 movss xmm0, dword ptr [rdi+26Ch] ; +0xd4, 0x14040a474 jmp short loc_14040A486 ; +0xdc, 0x14040a47c movss xmm0, dword ptr [rdi+264h] ; +0xde, 0x14040a47e movss dword ptr [rdi+260h], xmm0 ; +0xe6, 0x14040a486 xorps xmm0, xmm0 ; +0xee, 0x14040a48e movdqu [rsp+0E8h+var_98], xmm0 ; +0xf1, 0x14040a491 mov [rsp+0E8h+var_88], rbp ; +0xf7, 0x14040a497 lea r8, [rsp+0E8h+var_98] ; +0xfc, 0x14040a49c lea rdx, asc_14071A734; "~" ; +0x101, 0x14040a4a1 mov rcx, r14 ; +0x108, 0x14040a4a8 call sub_1401C5360 ; +0x10b, 0x14040a4ab mov rcx, qword ptr [rsp+0E8h+var_98+8] ; +0x110, 0x14040a4b0 sub rcx, qword ptr [rsp+0E8h+var_98] ; +0x115, 0x14040a4b5 sar rcx, 5 ; +0x11a, 0x14040a4ba call cs:?createWithCapacity@CCArray@cocos2d@@SAPEAV12@I@Z; cocos2d::CCArray::createWithCapacity(uint) ; +0x11e, 0x14040a4be mov [rdi+238h], rax ; +0x124, 0x14040a4c4 mov rcx, rax ; +0x12b, 0x14040a4cb call cs:?retain@CCObject@cocos2d@@QEAAXXZ; cocos2d::CCObject::retain(void) ; +0x12e, 0x14040a4ce mov rax, [rdi+208h] ; +0x134, 0x14040a4d4 mov rcx, [rax+0DC8h] ; +0x13b, 0x14040a4db movss xmm10, dword ptr [rcx+158h] ; +0x142, 0x14040a4e2 mov rax, qword ptr [rsp+0E8h+var_98+8] ; +0x14b, 0x14040a4eb mov rdx, qword ptr [rsp+0E8h+var_98] ; +0x150, 0x14040a4f0 sub rax, rdx ; +0x155, 0x14040a4f5 sar rax, 5 ; +0x158, 0x14040a4f8 test rax, rax ; +0x15c, 0x14040a4fc jz loc_14040A638 ; +0x15f, 0x14040a4ff mov rsi, rbp ; +0x165, 0x14040a505 xorps xmm9, xmm9 ; +0x168, 0x14040a508 movss xmm8, cs:dword_140834FE8 ; +0x16c, 0x14040a50c lea rcx, [rsi+rdx] ; +0x175, 0x14040a515 cmp qword ptr [rcx+18h], 0Fh ; +0x179, 0x14040a519 jbe short loc_14040A523 ; +0x17e, 0x14040a51e mov rcx, [rcx]; String ; +0x180, 0x14040a520 call cs:atof ; +0x183, 0x14040a523 xorps xmm7, xmm7 ; +0x189, 0x14040a529 cvtsd2ss xmm7, xmm0 ; +0x18c, 0x14040a52c mov rcx, qword ptr [rsp+0E8h+var_98] ; +0x190, 0x14040a530 add rcx, 20h ; ' ' ; +0x195, 0x14040a535 add rcx, rsi ; +0x199, 0x14040a539 cmp qword ptr [rcx+18h], 0Fh ; +0x19c, 0x14040a53c jbe short loc_14040A546 ; +0x1a1, 0x14040a541 mov rcx, [rcx]; String ; +0x1a3, 0x14040a543 call cs:atof ; +0x1a6, 0x14040a546 xorps xmm6, xmm6 ; +0x1ac, 0x14040a54c cvtsd2ss xmm6, xmm0 ; +0x1af, 0x14040a54f subss xmm7, xmm10 ; +0x1b3, 0x14040a553 ucomiss xmm6, xmm9 ; +0x1b8, 0x14040a558 jp short loc_14040A566 ; +0x1bc, 0x14040a55c jnz short loc_14040A566 ; +0x1be, 0x14040a55e movaps xmm6, xmm8 ; +0x1c0, 0x14040a560 jmp short loc_14040A570 ; +0x1c4, 0x14040a564 comiss xmm6, xmm8 ; +0x1c6, 0x14040a566 jb loc_14040A614 ; +0x1ca, 0x14040a56a mov rax, [rdi+208h] ; +0x1d0, 0x14040a570 mov r9, [rax+0DC8h] ; +0x1d7, 0x14040a577 add rax, 340h ; +0x1de, 0x14040a57e mov [rsp+0E8h+var_B0], rax ; +0x1e4, 0x14040a584 mov [rsp+0E8h+var_B8], 0 ; +0x1e9, 0x14040a589 mov [rsp+0E8h+var_C0], 0 ; +0x1ee, 0x14040a58e movzx eax, byte ptr [r9+155h] ; +0x1f3, 0x14040a593 mov [rsp+0E8h+var_C8], al ; +0x1fb, 0x14040a59b mov r9d, [r9+14Ch] ; +0x1ff, 0x14040a59f mov r8, [rdi+250h] ; +0x206, 0x14040a5a6 movaps xmm1, xmm7 ; +0x20d, 0x14040a5ad lea rcx, [rsp+0E8h+var_80] ; +0x210, 0x14040a5b0 call LevelTools__posForTimeInternal ; +0x215, 0x14040a5b5 mov rbx, [rdi+238h] ; +0x21a, 0x14040a5ba movss xmm1, [rsp+0E8h+var_80] ; +0x221, 0x14040a5c1 cvtps2pd xmm1, xmm1 ; +0x227, 0x14040a5c7 movq rdx, xmm1 ; +0x22a, 0x14040a5ca lea rcx, a02f; "%.02f" ; +0x22f, 0x14040a5cf call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x236, 0x14040a5d6 mov rdx, rax ; +0x23c, 0x14040a5dc mov rcx, rbx ; +0x23f, 0x14040a5df call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x242, 0x14040a5e2 mov rbx, [rdi+238h] ; +0x248, 0x14040a5e8 xorps xmm1, xmm1 ; +0x24f, 0x14040a5ef cvtss2sd xmm1, xmm6 ; +0x252, 0x14040a5f2 movq rdx, xmm1 ; +0x256, 0x14040a5f6 lea rcx, a02f; "%.02f" ; +0x25b, 0x14040a5fb call cs:?createWithFormat@CCString@cocos2d@@SAPEAV12@PEBDZZ; cocos2d::CCString::createWithFormat(char const *,...) ; +0x262, 0x14040a602 mov rdx, rax ; +0x268, 0x14040a608 mov rcx, rbx ; +0x26b, 0x14040a60b call cs:?addObject@CCArray@cocos2d@@QEAAXPEAVCCObject@2@@Z; cocos2d::CCArray::addObject(cocos2d::CCObject *) ; +0x26e, 0x14040a60e add ebp, 2 ; +0x274, 0x14040a614 add rsi, 40h ; '@' ; +0x277, 0x14040a617 mov rcx, qword ptr [rsp+0E8h+var_98+8] ; +0x27b, 0x14040a61b mov rdx, qword ptr [rsp+0E8h+var_98] ; +0x280, 0x14040a620 sub rcx, rdx ; +0x285, 0x14040a625 sar rcx, 5 ; +0x288, 0x14040a628 movsxd rax, ebp ; +0x28c, 0x14040a62c cmp rax, rcx ; +0x28f, 0x14040a62f jb loc_14040A515 ; +0x292, 0x14040a632 lea rcx, [rsp+0E8h+var_98] ; +0x298, 0x14040a638 call sub_1400760C0 ; +0x29d, 0x14040a63d nop ; +0x2a2, 0x14040a642 mov rcx, r14 ; +0x2a3, 0x14040a643 call sub_14003D310 ; +0x2a6, 0x14040a646 mov rcx, [rsp+0E8h+var_70] ; +0x2ab, 0x14040a64b xor rcx, rsp; StackCookie ; +0x2b0, 0x14040a650 call __security_check_cookie ; +0x2b3, 0x14040a653 lea r11, [rsp+0E8h+var_18] ; +0x2b8, 0x14040a658 mov rbx, [r11+30h] ; +0x2c0, 0x14040a660 mov rbp, [r11+38h] ; +0x2c4, 0x14040a664 movaps xmm6, xmmword ptr [r11-10h] ; +0x2c8, 0x14040a668 movaps xmm7, xmmword ptr [r11-20h] ; +0x2cd, 0x14040a66d movaps xmm8, xmmword ptr [r11-30h] ; +0x2d2, 0x14040a672 movaps xmm9, xmmword ptr [r11-40h] ; +0x2d7, 0x14040a677 movaps xmm10, xmmword ptr [r11-50h] ; +0x2dc, 0x14040a67c mov rsp, r11 ; +0x2e1, 0x14040a681 pop r14 ; +0x2e4, 0x14040a684 pop rdi ; +0x2e6, 0x14040a686 pop rsi ; +0x2e7, 0x14040a687 retn ; +0x2e8, 0x14040a688