; ; GJBaseGameLayer::syncBGTextures from 0x140344f00 to 0x140344fa0 (160 bytes) ; ; 4 xrefs: ; > LevelEditorLayer::onPlaytest @ 0x1403fefcf ; > LevelEditorLayer::onStopPlaytest @ 0x14040013b ; > PlayLayer::resetLevel @ 0x140519b47 ; > @ 0x14091fe80 ; ; 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:41 +0000 ; push rbx ; +0x0, 0x140344f00 sub rsp, 20h ; +0x2, 0x140344f02 mov rbx, rcx ; +0x6, 0x140344f06 mov rcx, [rcx+10E0h] ; +0x9, 0x140344f09 mov rax, [rcx] ; +0x10, 0x140344f10 call qword ptr [rax+38h] ; +0x13, 0x140344f13 mov edx, [rbx+854h] ; +0x16, 0x140344f16 cmp eax, edx ; +0x1c, 0x140344f1c jz short loc_140344F28 ; +0x1e, 0x140344f1e mov rcx, rbx ; +0x20, 0x140344f20 call GJBaseGameLayer__createBackground ; +0x23, 0x140344f23 mov rcx, [rbx+10F0h] ; +0x28, 0x140344f28 mov rax, [rcx] ; +0x2f, 0x140344f2f call qword ptr [rax+38h] ; +0x32, 0x140344f32 mov edx, [rbx+858h] ; +0x35, 0x140344f35 cmp eax, edx ; +0x3b, 0x140344f3b jz short loc_140344F55 ; +0x3d, 0x140344f3d mov r8, [rbx+0DC8h] ; +0x3f, 0x140344f3f mov rcx, rbx ; +0x46, 0x140344f46 mov r8d, [r8+1B0h] ; +0x49, 0x140344f49 call GJBaseGameLayer__createGroundLayer ; +0x50, 0x140344f50 mov rcx, [rbx+1100h] ; +0x55, 0x140344f55 test rcx, rcx ; +0x5c, 0x140344f5c jz short loc_140344F76 ; +0x5f, 0x140344f5f mov rax, [rcx] ; +0x61, 0x140344f61 call qword ptr [rax+38h] ; +0x64, 0x140344f64 lea rcx, [rbx+85Ch] ; +0x67, 0x140344f67 mov edx, [rcx] ; +0x6e, 0x140344f6e cmp eax, edx ; +0x70, 0x140344f70 jnz short loc_140344F8D ; +0x72, 0x140344f72 jmp short loc_140344F7D ; +0x74, 0x140344f74 lea rcx, [rbx+85Ch] ; +0x76, 0x140344f76 cmp qword ptr [rbx+1100h], 0 ; +0x7d, 0x140344f7d jnz short loc_140344F9A ; +0x85, 0x140344f85 mov edx, [rcx] ; +0x87, 0x140344f87 test edx, edx ; +0x89, 0x140344f89 jle short loc_140344F9A ; +0x8b, 0x140344f8b mov rcx, rbx ; +0x8d, 0x140344f8d add rsp, 20h ; +0x90, 0x140344f90 pop rbx ; +0x94, 0x140344f94 jmp GJBaseGameLayer__createMiddleground ; +0x95, 0x140344f95 add rsp, 20h ; +0x9a, 0x140344f9a pop rbx ; +0x9e, 0x140344f9e retn ; +0x9f, 0x140344f9f