; ; GJBaseGameLayer::createGroundLayer from 0x140311df0 to 0x140311ee7 (247 bytes) ; ; 6 xrefs: ; > GameManager::finishedLoadingGAsync @ 0x14027e28d ; > GJBaseGameLayer::syncBGTextures @ 0x140344f50 ; > LevelEditorLayer::init @ 0x1403eeabe ; > LevelSettingsLayer::selectArtClosed @ 0x14045b2b0 ; > PlayLayer::setupHasCompleted @ 0x140504d90 ; > @ 0x14091e800 ; ; 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:16 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140311df0 mov [rsp+arg_8], rbp ; +0x5, 0x140311df5 mov [rsp+arg_10], rsi ; +0xa, 0x140311dfa push rdi ; +0xf, 0x140311dff sub rsp, 20h ; +0x10, 0x140311e00 mov rdi, rcx ; +0x14, 0x140311e04 mov ebp, r8d ; +0x17, 0x140311e07 mov rcx, [rcx+10F0h] ; +0x1a, 0x140311e0a mov esi, edx ; +0x21, 0x140311e11 test rcx, rcx ; +0x23, 0x140311e13 jz short loc_140311E47 ; +0x26, 0x140311e16 mov rax, [rcx] ; +0x28, 0x140311e18 call qword ptr [rax+200h] ; +0x2b, 0x140311e1b mov rcx, [rdi+10F8h] ; +0x31, 0x140311e21 mov qword ptr [rdi+10F0h], 0 ; +0x38, 0x140311e28 mov rax, [rcx] ; +0x43, 0x140311e33 call qword ptr [rax+200h] ; +0x46, 0x140311e36 mov qword ptr [rdi+10F8h], 0 ; +0x4c, 0x140311e3c mov eax, 16h ; +0x57, 0x140311e47 mov edx, ebp ; +0x5c, 0x140311e4c cmp esi, eax ; +0x5e, 0x140311e4e cmovg esi, eax ; +0x60, 0x140311e50 mov ecx, esi ; +0x63, 0x140311e53 call GJGroundLayer__create ; +0x65, 0x140311e55 mov [rdi+10F0h], rax ; +0x6a, 0x140311e5a mov edx, esi ; +0x71, 0x140311e61 mov rcx, [rax] ; +0x73, 0x140311e63 mov r8, [rcx+40h] ; +0x76, 0x140311e66 mov rcx, rax ; +0x7a, 0x140311e6a call r8 ; +0x7d, 0x140311e6d mov rcx, [rdi+10B0h] ; +0x80, 0x140311e70 mov r8d, 28h ; '(' ; +0x87, 0x140311e77 mov rdx, [rdi+10F0h] ; +0x8d, 0x140311e7d mov rax, [rcx] ; +0x94, 0x140311e84 call qword ptr [rax+1C8h] ; +0x97, 0x140311e87 mov edx, ebp ; +0x9d, 0x140311e8d mov ecx, esi ; +0x9f, 0x140311e8f call GJGroundLayer__create ; +0xa1, 0x140311e91 mov rcx, [rdi+10B0h] ; +0xa6, 0x140311e96 mov r8d, 28h ; '(' ; +0xad, 0x140311e9d mov [rdi+10F8h], rax ; +0xb3, 0x140311ea3 mov rdx, [rcx] ; +0xba, 0x140311eaa mov r9, [rdx+1C8h] ; +0xbd, 0x140311ead mov rdx, rax ; +0xc4, 0x140311eb4 call r9 ; +0xc7, 0x140311eb7 mov rcx, [rdi+10F8h] ; +0xca, 0x140311eba movss xmm1, cs:dword_140835C90 ; +0xd1, 0x140311ec1 mov rax, [rcx] ; +0xd9, 0x140311ec9 mov rbx, [rsp+28h+arg_0] ; +0xdc, 0x140311ecc mov rbp, [rsp+28h+arg_8] ; +0xe1, 0x140311ed1 mov rsi, [rsp+28h+arg_10] ; +0xe6, 0x140311ed6 add rsp, 20h ; +0xeb, 0x140311edb pop rdi ; +0xef, 0x140311edf jmp qword ptr [rax+88h] ; +0xf0, 0x140311ee0