// // GJBaseGameLayer::syncBGTextures from 0x9a90e8 to 0x9a91ac (196 bytes) // // 4 xrefs: // > PlayLayer::resetLevel @ 0x7117e8 // > LevelEditorLayer::onStopPlaytest @ 0x78de14 // > LevelEditorLayer::onPlaytest @ 0x796654 // > @ 0x460d8 // // 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:11 +0000 // __int64 __fastcall GJBaseGameLayer::syncBGTextures(GJBaseGameLayer *this) { int v2; // w0 int v3; // w1 int v4; // w0 int v5; // w1 __int64 result; // x0 int v7; // w0 __int64 v8; // x1 v2 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 493) + 64LL))(*((_QWORD *)this + 493)); v3 = *((_DWORD *)this + 475); if ( v2 != v3 ) GJBaseGameLayer::createBackground(this, v3); v4 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 495) + 64LL))(*((_QWORD *)this + 495)); v5 = *((_DWORD *)this + 476); if ( v4 != v5 ) GJBaseGameLayer::createGroundLayer(this, v5, *(_DWORD *)(*((_QWORD *)this + 409) + 424LL)); result = *((_QWORD *)this + 497); if ( !result ) { v8 = *((unsigned int *)this + 477); LABEL_9: if ( (int)v8 > 0 ) return GJBaseGameLayer::createMiddleground((__int64)this, v8); return result; } v7 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 64LL))(result); v8 = *((unsigned int *)this + 477); if ( v7 != (_DWORD)v8 ) return GJBaseGameLayer::createMiddleground((__int64)this, v8); result = *((_QWORD *)this + 497); if ( !result ) goto LABEL_9; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source