// // LevelSelectLayer::onDeathTracker from 0x140443010 to 0x1404430ad (157 bytes) // // 2 xrefs: // > LevelSelectLayer::init @ 0x140442413 // > @ 0x140927188 // // This function is hookable on this platform (idp: pc, 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:32:22 +0000 // __int64 __fastcall LevelSelectLayer::onDeathTracker(__int64 a1) { __int64 v1; // rdi signed int v2; // ebx cocos2d::CCArray *v3; // rcx signed int v4; // ecx __int64 result; // rax _DWORD *v6; // rcx _QWORD *v7; // rax v1 = *(_QWORD *)(a1 + 448); v2 = *(_DWORD *)(v1 + 588); v3 = *(cocos2d::CCArray **)(v1 + 480); if ( *(_BYTE *)(v1 + 456) ) { v4 = cocos2d::CCArray::count(v3); if ( v2 <= 0 ) { for ( ; v2 < 0; v2 += v4 ) ; } else { v2 %= v4; } v3 = *(cocos2d::CCArray **)(v1 + 480); } result = (__int64)cocos2d::CCArray::objectAtIndex(v3, v2); v6 = *(_DWORD **)(result + 424); if ( v6 ) { result = (unsigned int)(v6[82] - v6[83]); if ( (_DWORD)result != -1 && (_DWORD)result != -2 && v6[243] != 5 ) { v7 = DeathTrackerPopup::create((__int64)v6); return (*(__int64 (__fastcall **)(_QWORD *))(*v7 + 1064LL))(v7); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source