// // PlayLayer::checkForEnd from 0x6f2c68 to 0x6f2d88 (288 bytes) // // 2 xrefs: // > @ 0xe65d8 // > @ 0x14288c8 // // 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:51:49 +0000 // __int64 __fastcall PlayLayer::checkForEnd(PlayLayer *this) { EndPortalObject *v2; // x0 float v3; // s8 float v5; // s8 __int64 v6; // [xsp+38h] [xbp+38h] BYREF __int64 v7; // [xsp+40h] [xbp+40h] BYREF v2 = *((EndPortalObject **)this + 1576); if ( !v2 || *((_BYTE *)this + 14232) ) return _stack_chk_guard; if ( *((_BYTE *)v2 + 1360) ) goto LABEL_4; EndPortalObject::getSpawnPos(&v6, v2); v5 = *(float *)&v6; if ( v5 > *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 407) + 192LL))(*((_QWORD *)this + 407)) ) { v2 = *((EndPortalObject **)this + 1576); if ( !*((_BYTE *)v2 + 1360) ) return _stack_chk_guard; LABEL_4: EndPortalObject::getSpawnPos(&v7, v2); v3 = *(float *)&v7; if ( v3 < *(float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 407) + 192LL))(*((_QWORD *)this + 407)) ) return _stack_chk_guard; } *((_BYTE *)this + 14232) = 1; if ( *((float *)this + 3409) != 0.0 ) { EndPortalObject::updateEndPos(*((EndPortalObject **)this + 1576), 0); GJBaseGameLayer::reorderObjectSection(this, *((GameObject **)this + 1576)); } EndPortalObject::triggerObject(*((EndPortalObject **)this + 1576), this); return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source