; ; GJBaseGameLayer::updateKeyframeOrder from 0x14033c8e0 to 0x14033c9ab (203 bytes) ; ; 7 xrefs: ; > GJBaseGameLayer::addKeyframe @ 0x14033c8c0 ; > LevelEditorLayer::removeSpecial @ 0x1403f534c ; > LevelEditorLayer::addKeyframe @ 0x1404013c7 ; > SetupKeyframePopup::onCustomButton @ 0x1405bbd49 ; > @ 0x1408b7338 ; > @ 0x1408b7348 ; > @ 0x14091fbe0 ; ; 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:30:37 +0000 ; push rsi ; +0x0, 0x14033c8e0 sub rsp, 20h ; +0x2, 0x14033c8e2 mov rcx, [rcx+3630h] ; +0x6, 0x14033c8e6 movsxd rdx, edx ; +0xd, 0x14033c8ed call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x10, 0x14033c8f0 mov rsi, rax ; +0x16, 0x14033c8f6 test rax, rax ; +0x19, 0x14033c8f9 jz loc_14033C9A5 ; +0x1c, 0x14033c8fc mov rcx, rax ; +0x22, 0x14033c902 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x14033c905 test eax, eax ; +0x2b, 0x14033c90b jz loc_14033C9A5 ; +0x2d, 0x14033c90d mov [rsp+28h+arg_0], rbx ; +0x33, 0x14033c913 xor edx, edx ; +0x38, 0x14033c918 mov [rsp+28h+arg_8], rbp ; +0x3a, 0x14033c91a mov rcx, rsi ; +0x3f, 0x14033c91f mov [rsp+28h+arg_10], rdi ; +0x42, 0x14033c922 mov [rsp+28h+arg_18], r14 ; +0x47, 0x14033c927 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0x14033c92c mov rcx, rsi ; +0x52, 0x14033c932 xor ebx, ebx ; +0x55, 0x14033c935 movsx r14d, word ptr [rax+4BAh] ; +0x57, 0x14033c937 movzx ebp, byte ptr [rax+76Ah] ; +0x5f, 0x14033c93f lea edi, [r14+1] ; +0x66, 0x14033c946 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6a, 0x14033c94a test eax, eax ; +0x70, 0x14033c950 jz short loc_14033C991 ; +0x72, 0x14033c952 mov edx, ebx ; +0x74, 0x14033c954 mov rcx, rsi ; +0x76, 0x14033c956 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x79, 0x14033c959 mov [rax+754h], ebx ; +0x7f, 0x14033c95f mov [rax+76Ah], bpl ; +0x85, 0x14033c965 test bpl, bpl ; +0x8c, 0x14033c96c jz short loc_14033C982 ; +0x8f, 0x14033c96f mov [rax+4BCh], di ; +0x91, 0x14033c971 inc edi ; +0x98, 0x14033c978 mov [rax+4BAh], r14w ; +0x9a, 0x14033c97a mov rcx, rsi ; +0xa2, 0x14033c982 inc ebx ; +0xa5, 0x14033c985 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa7, 0x14033c987 cmp ebx, eax ; +0xad, 0x14033c98d jb short loc_14033C954 ; +0xaf, 0x14033c98f mov rdi, [rsp+28h+arg_10] ; +0xb1, 0x14033c991 mov rbp, [rsp+28h+arg_8] ; +0xb6, 0x14033c996 mov rbx, [rsp+28h+arg_0] ; +0xbb, 0x14033c99b mov r14, [rsp+28h+arg_18] ; +0xc0, 0x14033c9a0 add rsp, 20h ; +0xc5, 0x14033c9a5 pop rsi ; +0xc9, 0x14033c9a9 retn ; +0xca, 0x14033c9aa