// // PlayLayer::checkForEnd from 0x100148aa4 to 0x100148b88 (228 bytes) // // 1 xrefs: // > @ 0x1008df898 // // 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::checkForEnd(__int64 a1) { __int64 result; // x0 float v3; // s8 float v4; // s8 __int64 v5; // [xsp+0h] [xbp-30h] BYREF __int64 v6; // [xsp+8h] [xbp-28h] BYREF result = *(_QWORD *)(a1 + 12608); if ( !result || (*(_BYTE *)(a1 + 14232) & 1) != 0 ) return result; if ( (*(_BYTE *)(result + 1360) & 1) != 0 ) goto LABEL_4; EndPortalObject::getSpawnPos(&v6); v4 = *(float *)&v6; if ( v4 > *(float *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3256) + 192LL))(*(_QWORD *)(a1 + 3256)) ) { result = *(_QWORD *)(a1 + 12608); if ( (*(_BYTE *)(result + 1360) & 1) == 0 ) return result; LABEL_4: EndPortalObject::getSpawnPos(&v5); v3 = *(float *)&v5; result = (*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(a1 + 3256) + 192LL))(*(_QWORD *)(a1 + 3256)); if ( v3 < *(float *)result ) return result; } *(_BYTE *)(a1 + 14232) = 1; if ( *(float *)(a1 + 13636) != 0.0 ) { EndPortalObject::updateEndPos(*(_QWORD *)(a1 + 12608), 0); GJBaseGameLayer::reorderObjectSection(a1, *(_QWORD *)(a1 + 12608)); } return EndPortalObject::triggerObject(*(_QWORD *)(a1 + 12608), a1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source