// // 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 // __int64 __fastcall GJBaseGameLayer::createGroundLayer(__int64 a1, unsigned int a2, unsigned int a3) { __int64 v5; // rcx __int64 v7; // rcx __int64 v8; // rax __int64 v9; // rax __int64 v10; // rcx v5 = *(_QWORD *)(a1 + 4336); if ( v5 ) { (*(void (__fastcall **)(__int64))(*(_QWORD *)v5 + 512LL))(v5); v7 = *(_QWORD *)(a1 + 4344); *(_QWORD *)(a1 + 4336) = 0; (*(void (__fastcall **)(__int64))(*(_QWORD *)v7 + 512LL))(v7); *(_QWORD *)(a1 + 4344) = 0; } if ( (int)a2 > 22 ) a2 = 22; v8 = GJGroundLayer::create(a2, a3); *(_QWORD *)(a1 + 4336) = v8; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v8 + 64LL))(v8, a2); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**(_QWORD **)(a1 + 4272) + 456LL))( *(_QWORD *)(a1 + 4272), *(_QWORD *)(a1 + 4336), 40); v9 = GJGroundLayer::create(a2, a3); v10 = *(_QWORD *)(a1 + 4272); *(_QWORD *)(a1 + 4344) = v9; (*(void (__fastcall **)(__int64, __int64, __int64))(*(_QWORD *)v10 + 456LL))(v10, v9, 40); return (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 4344) + 136LL))(*(_QWORD *)(a1 + 4344)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source