; ; GJBaseGameLayer::addToGroups from 0x140223f40 to 0x140223fcf (143 bytes) ; ; 7 xrefs: ; > LevelEditorLayer::addSpecial @ 0x1402d8152 ; > PlayLayer::addObject @ 0x1403ade7b ; > PlayLayer::addObject @ 0x1403ae461 ; > PlayLayer::addObject @ 0x1403ae9aa ; > @ 0x14067fefc ; > @ 0x14067ff0c ; > @ 0x1406cd614 ; ; 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 rbx ; +0x0, 0x140223f40 push r14 ; +0x2, 0x140223f42 push r15 ; +0x4, 0x140223f44 sub rsp, 20h ; +0x6, 0x140223f46 cmp word ptr [rdx+498h], 0 ; +0xa, 0x140223f4a movzx r15d, r8b ; +0x12, 0x140223f52 mov rbx, rdx ; +0x16, 0x140223f56 mov r14, rcx ; +0x19, 0x140223f59 jle short loc_140223FC5 ; +0x1c, 0x140223f5c mov [rsp+38h+arg_0], rbp ; +0x1e, 0x140223f5e xor ebp, ebp ; +0x23, 0x140223f63 mov [rsp+38h+arg_8], rsi ; +0x25, 0x140223f65 xor esi, esi ; +0x2a, 0x140223f6a mov [rsp+38h+arg_10], rdi ; +0x2c, 0x140223f6c xor edi, edi ; +0x31, 0x140223f71 cmp rdi, 9 ; +0x33, 0x140223f73 ja short loc_140223F8C ; +0x37, 0x140223f77 mov rax, [rbx+490h] ; +0x39, 0x140223f79 test rax, rax ; +0x40, 0x140223f80 jz short loc_140223F8C ; +0x43, 0x140223f83 movsx r8d, word ptr [rsi+rax] ; +0x45, 0x140223f85 jmp short loc_140223F8F ; +0x4a, 0x140223f8a xor r8d, r8d ; +0x4c, 0x140223f8c mov rax, [r14] ; +0x4f, 0x140223f8f movzx r9d, r15b ; +0x52, 0x140223f92 mov rdx, rbx ; +0x56, 0x140223f96 mov rcx, r14 ; +0x59, 0x140223f99 call qword ptr [rax+480h] ; +0x5c, 0x140223f9c movsx eax, word ptr [rbx+498h] ; +0x62, 0x140223fa2 inc ebp ; +0x69, 0x140223fa9 inc rdi ; +0x6b, 0x140223fab add rsi, 2 ; +0x6e, 0x140223fae cmp ebp, eax ; +0x72, 0x140223fb2 jl short loc_140223F73 ; +0x74, 0x140223fb4 mov rdi, [rsp+38h+arg_10] ; +0x76, 0x140223fb6 mov rsi, [rsp+38h+arg_8] ; +0x7b, 0x140223fbb mov rbp, [rsp+38h+arg_0] ; +0x80, 0x140223fc0 add rsp, 20h ; +0x85, 0x140223fc5 pop r15 ; +0x89, 0x140223fc9 pop r14 ; +0x8b, 0x140223fcb pop rbx ; +0x8d, 0x140223fcd retn ; +0x8e, 0x140223fce