// // GJBaseGameLayer::syncBGTextures from 0x10029eeb8 to 0x10029ef70 (184 bytes) // // 3 xrefs: // > PlayLayer::resetLevel @ 0x10014bf30 // > LevelEditorLayer::onPlaytest @ 0x100404a40 // > LevelEditorLayer::onStopPlaytest @ 0x1004052ac // // 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 11:02:12 +0000 // __int64 __fastcall GJBaseGameLayer::syncBGTextures(__int64 a1) { int v2; // w0 int v3; // w1 int v4; // w0 int v5; // w1 __int64 result; // x0 int v7; // w1 v2 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3944) + 64LL))(*(_QWORD *)(a1 + 3944)); v3 = *(_DWORD *)(a1 + 1900); if ( v2 != v3 ) GJBaseGameLayer::createBackground(a1, v3); v4 = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3960) + 64LL))(*(_QWORD *)(a1 + 3960)); v5 = *(_DWORD *)(a1 + 1904); if ( v4 != v5 ) GJBaseGameLayer::createGroundLayer(a1, v5, *(unsigned int *)(*(_QWORD *)(a1 + 3272) + 424LL)); result = *(_QWORD *)(a1 + 3976); if ( !result ) { v7 = *(_DWORD *)(a1 + 1908); goto LABEL_10; } result = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)result + 64LL))(result); v7 = *(_DWORD *)(a1 + 1908); if ( (_DWORD)result == v7 ) { if ( *(_QWORD *)(a1 + 3976) ) return result; v7 = result; LABEL_10: if ( v7 < 1 ) return result; } return GJBaseGameLayer::createMiddleground(a1, v7); }
GD Web Decomp Icon

GD Web Decomp

Raw Source