// // PlayLayer::processCheckpoints from 0x100148674 to 0x10014887c (520 bytes) // // 1 xrefs: // > @ 0x1008dfa50 // // 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 10:59:35 +0000 // __int64 __fastcall PlayLayer::processCheckpoints(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 __int64 v3; // x0 char v4; // w0 __int64 v5; // x0 __int64 v6; // x20 __n128 v7; // q0 __int64 v8; // x8 double *v9; // x1 __int64 MainObject; // x0 __int64 v11; // x21 double v12; // d0 __n128 v13; // q0 __int64 v14; // x0 __int64 v15; // x8 __int64 v16; // [xsp+0h] [xbp-40h] BYREF void *__p; // [xsp+8h] [xbp-38h] BYREF void *v18; // [xsp+10h] [xbp-30h] __int64 v19; // [xsp+18h] [xbp-28h] v1 = result; if ( *(_BYTE *)(result + 14868) == 1 ) { *(_BYTE *)(result + 14868) = 0; result = PlayLayer::markCheckpoint(result); } v2 = *(_QWORD *)(v1 + 14872); if ( v2 ) { if ( *(int *)(v2 + 1848) >= 1 ) { __p = nullptr; v18 = nullptr; v19 = 0; (*(void (__fastcall **)(__int64, double))(*(_QWORD *)v1 + 1256LL))(v1, 0.0); result = 0; } v3 = GameManager::sharedState(result); GameManager::getGameVariable(v3, "0146"); if ( (v4 & 1) != 0 ) goto LABEL_15; v5 = PlayLayer::markCheckpoint(v1); if ( !v5 ) goto LABEL_15; v6 = v5; (*(void (__fastcall **)(void **__return_ptr))(**(_QWORD **)(v1 + 14872) + 1360LL))(&__p); v8 = *(_QWORD *)(v1 + 14872); if ( *(_BYTE *)(v8 + 1684) == 1 ) { v9 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 3256) + 192LL))(*(_QWORD *)(v1 + 3256)); } else { if ( *(int *)(v8 + 1468) < 1 ) goto LABEL_14; MainObject = GJBaseGameLayer::tryGetMainObject(v1); if ( !MainObject ) goto LABEL_14; (*(void (__fastcall **)(__int64 *__return_ptr))(*(_QWORD *)MainObject + 1360LL))(&v16); v9 = (double *)&v16; } v7.n128_f64[0] = sub_10002630C(&__p, v9); LABEL_14: v11 = sub_10019CA2C(v6, v7); v12 = sub_1000262F4(&v16, (double *)&__p); (*(void (__fastcall **)(__int64, __int64 *, double))(*(_QWORD *)v11 + 1368LL))(v11, &v16, v12); v13.n128_f64[0] = sub_10002630C((_QWORD *)(*(_QWORD *)(v6 + 3120) + 316LL), (double *)&__p); *(_BYTE *)(*(_QWORD *)(v6 + 3120) + 432LL) = 1; v14 = sub_10019CA2C(v6, v13); GameObject::makeInvisible(v14); v15 = *(_QWORD *)(v1 + 14872); *(_DWORD *)(v6 + 3140) = *(_DWORD *)(v15 + 916); *(_DWORD *)(v6 + 3144) = *(_DWORD *)(v15 + 1844); sub_100148954(v1, v6); LABEL_15: if ( *(int *)(*(_QWORD *)(v1 + 14872) + 1464LL) >= 1 ) { __p = nullptr; v18 = nullptr; v19 = 0; (*(void (__fastcall **)(__int64, double))(*(_QWORD *)v1 + 1256LL))(v1, 0.0); if ( __p ) { v18 = __p; operator delete(__p); } } result = GJBaseGameLayer::gameEventTriggered(v1, 60, 0, 0); *(_QWORD *)(v1 + 14872) = 0; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source