; ; GJBaseGameLayer::syncBGTextures from 0x14023afa0 to 0x14023b03f (159 bytes) ; ; 4 xrefs: ; > LevelEditorLayer::onPlaytest @ 0x1402e040e ; > LevelEditorLayer::onStopPlaytest @ 0x1402e086b ; > PlayLayer::resetLevel @ 0x1403b9a2f ; > @ 0x1406ce250 ; ; 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, 0x14023afa0 sub rsp, 20h ; +0x2, 0x14023afa2 mov rbx, rcx ; +0x6, 0x14023afa6 mov rcx, [rcx+1000h] ; +0x9, 0x14023afa9 mov rax, [rcx] ; +0x10, 0x14023afb0 call qword ptr [rax+38h] ; +0x13, 0x14023afb3 mov edx, [rbx+854h] ; +0x16, 0x14023afb6 cmp eax, edx ; +0x1c, 0x14023afbc jz short loc_14023AFC8 ; +0x1e, 0x14023afbe mov rcx, rbx ; +0x20, 0x14023afc0 call GJBaseGameLayer__createBackground ; +0x23, 0x14023afc3 mov rcx, [rbx+1010h] ; +0x28, 0x14023afc8 mov rax, [rcx] ; +0x2f, 0x14023afcf call qword ptr [rax+38h] ; +0x32, 0x14023afd2 mov edx, [rbx+858h] ; +0x35, 0x14023afd5 cmp eax, edx ; +0x3b, 0x14023afdb jz short loc_14023AFF5 ; +0x3d, 0x14023afdd mov r8, [rbx+0DB0h] ; +0x3f, 0x14023afdf mov rcx, rbx ; +0x46, 0x14023afe6 mov r8d, [r8+1B0h] ; +0x49, 0x14023afe9 call GJBaseGameLayer__createGroundLayer ; +0x50, 0x14023aff0 mov rcx, [rbx+1020h] ; +0x55, 0x14023aff5 mov [rsp+28h+arg_0], rdi ; +0x5c, 0x14023affc test rcx, rcx ; +0x61, 0x14023b001 jz short loc_14023B016 ; +0x64, 0x14023b004 mov rax, [rcx] ; +0x66, 0x14023b006 mov edi, [rbx+85Ch] ; +0x69, 0x14023b009 call qword ptr [rax+38h] ; +0x6f, 0x14023b00f cmp eax, edi ; +0x72, 0x14023b012 jnz short loc_14023B02A ; +0x74, 0x14023b014 cmp qword ptr [rbx+1020h], 0 ; +0x76, 0x14023b016 jnz short loc_14023B034 ; +0x7e, 0x14023b01e mov edi, [rbx+85Ch] ; +0x80, 0x14023b020 test edi, edi ; +0x86, 0x14023b026 jle short loc_14023B034 ; +0x88, 0x14023b028 mov edx, edi ; +0x8a, 0x14023b02a mov rcx, rbx ; +0x8c, 0x14023b02c call GJBaseGameLayer__createMiddleground ; +0x8f, 0x14023b02f mov rdi, [rsp+28h+arg_0] ; +0x94, 0x14023b034 add rsp, 20h ; +0x99, 0x14023b039 pop rbx ; +0x9d, 0x14023b03d retn ; +0x9e, 0x14023b03e