// // PlayLayer::activatePlatformerEndTrigger from 0x7045a4 to 0x7046cc (296 bytes) // // 2 xrefs: // > @ 0x101938 // > @ 0x1428940 // // 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:52:04 +0000 // __int64 __fastcall PlayLayer::activatePlatformerEndTrigger(__int64 a1, __int64 a2, __int64 a3) { __int64 v5; // x22 __int64 v7; // x1 int v8; // w1 __int64 MainObject; // x0 _BYTE v10[8]; // [xsp+48h] [xbp+48h] BYREF __int64 v11; // [xsp+50h] [xbp+50h] BYREF if ( !*(_BYTE *)(*(_QWORD *)(a1 + 3256) + 2424LL) ) { v5 = a1 + 12288; if ( !*(_BYTE *)(a1 + 13336) ) { *(_QWORD *)(a1 + 14896) = a2; v7 = *(unsigned int *)(a2 + 1464); if ( (int)v7 > 0 ) (*(void (__fastcall **)(__int64, __int64, _QWORD, __int64, _QWORD, _QWORD, double))(*(_QWORD *)a1 + 1256LL))( a1, v7, 0, a3, *(unsigned int *)(a2 + 916), *(unsigned int *)(a2 + 1672), 0.0); *(_BYTE *)(v5 + 1048) = 1; UILayer::disableMenu(*(UILayer **)(a1 + 13288)); (*(void (__fastcall **)(__int64))(*(_QWORD *)a2 + 1360LL))(a2); v8 = *(_DWORD *)(a2 + 1468); if ( v8 > 0 ) { MainObject = GJBaseGameLayer::tryGetMainObject((GJBaseGameLayer *)a1, v8); if ( MainObject ) { (*(void (__fastcall **)(__int64 *__return_ptr))(*(_QWORD *)MainObject + 1360LL))(&v11); cocos2d::CCPoint::operator=(v10, &v11); } } cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)&v11, (const cocos2d::CCPoint *)v10); PlayLayer::playPlatformerEndAnimationToPos((__int64 *)a1, (const cocos2d::CCPoint *)&v11, *(_BYTE *)(a2 + 1842)); } } return _stack_chk_guard; }
GD Web Decomp Icon

GD Web Decomp

Raw Source