// // GJBaseGameLayer::createGroundLayer from 0x999894 to 0x99995c (200 bytes) // // 6 xrefs: // > PlayLayer::setupHasCompleted @ 0x707b14 // > LevelEditorLayer::init @ 0x7af208 // > GJBaseGameLayer::asyncGLoaded @ 0x99a608 // > GJBaseGameLayer::syncBGTextures @ 0x9a914c // > LevelSettingsLayer::selectArtClosed @ 0xb61bd0 // > @ 0x7a008 // // This function is hookable on this platform (idp: arm, 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 12:58:03 +0000 // __int64 __fastcall GJBaseGameLayer::createGroundLayer(GJBaseGameLayer *this, int a2, int a3) { unsigned int v5; // w20 __int64 v6; // x0 __int64 v7; // x0 int v9; // [xsp+38h] [xbp+38h] if ( *((_QWORD *)this + 495) ) { v9 = a2; GJBaseGameLayer::removeGroundLayer(this); a2 = v9; } if ( a2 > 22 ) v5 = 22; else v5 = a2; v6 = GJGroundLayer::create((GJGroundLayer *)v5, a3); *((_QWORD *)this + 495) = v6; (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v6 + 72LL))(v6, v5); (*(void (__fastcall **)(_QWORD, _QWORD, __int64))(**((_QWORD **)this + 487) + 464LL))( *((_QWORD *)this + 487), *((_QWORD *)this + 495), 40); v7 = GJGroundLayer::create((GJGroundLayer *)v5, a3); *((_QWORD *)this + 496) = v7; (*(void (__fastcall **)(_QWORD, __int64, __int64))(**((_QWORD **)this + 487) + 464LL))( *((_QWORD *)this + 487), v7, 40); return (*(__int64 (__fastcall **)(_QWORD, float))(**((_QWORD **)this + 496) + 144LL))(*((_QWORD *)this + 496), -1.0); }
GD Web Decomp Icon

GD Web Decomp

Raw Source