; ; GJBaseGameLayer::assignNewStickyGroups from 0x10013e060 to 0x10013e168 (264 bytes) ; ; 2 xrefs: ; > EditorUI::pasteObjects @ 0x10003b9a7 ; > LevelEditorLayer::duplicateKeyframeAnimation @ 0x1000f44ff ; ; 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 ; test rsi, rsi ; +0x0, 0x10013e060 jz locret_10013E167 ; +0x3, 0x10013e063 push rbp ; +0x9, 0x10013e069 mov rbp, rsp ; +0xa, 0x10013e06a push r15 ; +0xd, 0x10013e06d push r14 ; +0xf, 0x10013e06f push r13 ; +0x11, 0x10013e071 push r12 ; +0x13, 0x10013e073 push rbx ; +0x15, 0x10013e075 push rax ; +0x16, 0x10013e076 mov r14, rsi ; +0x17, 0x10013e077 mov rbx, rdi ; +0x1a, 0x10013e07a mov rdi, rsi ; +0x1d, 0x10013e07d call sub_100720070 ; +0x20, 0x10013e080 test eax, eax ; +0x25, 0x10013e085 jz loc_10013E159 ; +0x27, 0x10013e087 mov [rbp-30h], rbx ; +0x2d, 0x10013e08d xor r15d, r15d ; +0x31, 0x10013e091 xor r12d, r12d ; +0x34, 0x10013e094 jmp short loc_10013E0BB ; +0x37, 0x10013e097 align 20h ; +0x39, 0x10013e099 mov rdi, rbx ; +0x40, 0x10013e0a0 mov rsi, r13 ; +0x43, 0x10013e0a3 call sub_10071FCD0 ; +0x46, 0x10013e0a6 inc r12d ; +0x4b, 0x10013e0ab mov rdi, r14 ; +0x4e, 0x10013e0ae call sub_100720070 ; +0x51, 0x10013e0b1 cmp r12d, eax ; +0x56, 0x10013e0b6 jnb short loc_10013E116 ; +0x59, 0x10013e0b9 mov rdi, r14 ; +0x5b, 0x10013e0bb mov esi, r12d ; +0x5e, 0x10013e0be call sub_1007200C0 ; +0x61, 0x10013e0c1 mov r13, rax ; +0x66, 0x10013e0c6 mov eax, [rax+368h] ; +0x69, 0x10013e0c9 test eax, eax ; +0x6f, 0x10013e0cf jle short loc_10013E0AB ; +0x71, 0x10013e0d1 test r15, r15 ; +0x73, 0x10013e0d3 jnz short loc_10013E0E7 ; +0x76, 0x10013e0d6 call cocos2d__CCDictionary__create ; +0x78, 0x10013e0d8 mov r15, rax ; +0x7d, 0x10013e0dd mov eax, [r13+368h] ; +0x80, 0x10013e0e0 movsxd rsi, eax ; +0x87, 0x10013e0e7 mov rdi, r15 ; +0x8a, 0x10013e0ea call cocos2d__CCDictionary__objectForKey ; +0x8d, 0x10013e0ed mov rbx, rax ; +0x92, 0x10013e0f2 test rax, rax ; +0x95, 0x10013e0f5 jnz short loc_10013E0A0 ; +0x98, 0x10013e0f8 call sub_10071F9E0 ; +0x9a, 0x10013e0fa mov rbx, rax ; +0x9f, 0x10013e0ff movsxd rdx, dword ptr [r13+368h] ; +0xa2, 0x10013e102 mov rdi, r15 ; +0xa9, 0x10013e109 mov rsi, rax ; +0xac, 0x10013e10c call cocos2d__CCDictionary__setObject ; +0xaf, 0x10013e10f jmp short loc_10013E0A0 ; +0xb4, 0x10013e114 test r15, r15 ; +0xb6, 0x10013e116 mov r12, [rbp-30h] ; +0xb9, 0x10013e119 jz short loc_10013E159 ; +0xbd, 0x10013e11d mov r14, [r15+38h] ; +0xbf, 0x10013e11f test r14, r14 ; +0xc3, 0x10013e123 jz short loc_10013E159 ; +0xc6, 0x10013e126 nop dword ptr [rax+rax+00000000h] ; +0xc8, 0x10013e128 mov rbx, [r14+108h] ; +0xd0, 0x10013e130 mov r14, [r14+120h] ; +0xd7, 0x10013e137 mov rdi, r12 ; +0xde, 0x10013e13e mov rsi, rbx ; +0xe1, 0x10013e141 call GJBaseGameLayer__ungroupStickyObjects ; +0xe4, 0x10013e144 mov rdi, r12 ; +0xe9, 0x10013e149 mov rsi, rbx ; +0xec, 0x10013e14c call GJBaseGameLayer__groupStickyObjects ; +0xef, 0x10013e14f test r14, r14 ; +0xf4, 0x10013e154 jnz short loc_10013E130 ; +0xf7, 0x10013e157 add rsp, 8 ; +0xf9, 0x10013e159 pop rbx ; +0xfd, 0x10013e15d pop r12 ; +0xfe, 0x10013e15e pop r13 ; +0x100, 0x10013e160 pop r14 ; +0x102, 0x10013e162 pop r15 ; +0x104, 0x10013e164 pop rbp ; +0x106, 0x10013e166 retn ; +0x107, 0x10013e167