; ; GJBaseGameLayer::updateKeyframeOrder from 0x140233c10 to 0x140233cdb (203 bytes) ; ; 7 xrefs: ; > GJBaseGameLayer::addKeyframe @ 0x140233bf0 ; > LevelEditorLayer::removeSpecial @ 0x1402d83c9 ; > LevelEditorLayer::addKeyframe @ 0x1402e1857 ; > SetupKeyframePopup::onCustomButton @ 0x140426839 ; > @ 0x140681114 ; > @ 0x140681124 ; > @ 0x1406cdfa4 ; ; 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 rsi ; +0x0, 0x140233c10 sub rsp, 20h ; +0x2, 0x140233c12 mov rcx, [rcx+3530h] ; +0x6, 0x140233c16 movsxd rdx, edx ; +0xd, 0x140233c1d call cs:?objectForKey@CCDictionary@cocos2d@@QEAAPEAVCCObject@2@_J@Z; cocos2d::CCDictionary::objectForKey(__int64) ; +0x10, 0x140233c20 mov rsi, rax ; +0x16, 0x140233c26 test rax, rax ; +0x19, 0x140233c29 jz loc_140233CD5 ; +0x1c, 0x140233c2c mov rcx, rax ; +0x22, 0x140233c32 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x25, 0x140233c35 test eax, eax ; +0x2b, 0x140233c3b jz loc_140233CD5 ; +0x2d, 0x140233c3d mov [rsp+28h+arg_0], rbx ; +0x33, 0x140233c43 xor edx, edx ; +0x38, 0x140233c48 mov [rsp+28h+arg_8], rbp ; +0x3a, 0x140233c4a mov rcx, rsi ; +0x3f, 0x140233c4f mov [rsp+28h+arg_10], rdi ; +0x42, 0x140233c52 mov [rsp+28h+arg_18], r14 ; +0x47, 0x140233c57 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x4c, 0x140233c5c mov rcx, rsi ; +0x52, 0x140233c62 xor ebx, ebx ; +0x55, 0x140233c65 movsx r14d, word ptr [rax+4BAh] ; +0x57, 0x140233c67 movzx ebp, byte ptr [rax+76Ah] ; +0x5f, 0x140233c6f lea edi, [r14+1] ; +0x66, 0x140233c76 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0x6a, 0x140233c7a test eax, eax ; +0x70, 0x140233c80 jz short loc_140233CC1 ; +0x72, 0x140233c82 mov edx, ebx ; +0x74, 0x140233c84 mov rcx, rsi ; +0x76, 0x140233c86 call cs:?objectAtIndex@CCArray@cocos2d@@QEAAPEAVCCObject@2@I@Z; cocos2d::CCArray::objectAtIndex(uint) ; +0x79, 0x140233c89 mov [rax+754h], ebx ; +0x7f, 0x140233c8f mov [rax+76Ah], bpl ; +0x85, 0x140233c95 test bpl, bpl ; +0x8c, 0x140233c9c jz short loc_140233CB2 ; +0x8f, 0x140233c9f mov [rax+4BCh], di ; +0x91, 0x140233ca1 inc edi ; +0x98, 0x140233ca8 mov [rax+4BAh], r14w ; +0x9a, 0x140233caa mov rcx, rsi ; +0xa2, 0x140233cb2 inc ebx ; +0xa5, 0x140233cb5 call cs:?count@CCArray@cocos2d@@QEBAIXZ; cocos2d::CCArray::count(void) ; +0xa7, 0x140233cb7 cmp ebx, eax ; +0xad, 0x140233cbd jb short loc_140233C84 ; +0xaf, 0x140233cbf mov rdi, [rsp+28h+arg_10] ; +0xb1, 0x140233cc1 mov rbp, [rsp+28h+arg_8] ; +0xb6, 0x140233cc6 mov rbx, [rsp+28h+arg_0] ; +0xbb, 0x140233ccb mov r14, [rsp+28h+arg_18] ; +0xc0, 0x140233cd0 add rsp, 20h ; +0xc5, 0x140233cd5 pop rsi ; +0xc9, 0x140233cd9 retn ; +0xca, 0x140233cda