// // LevelSelectLayer::updateDeathButton from 0x511ad0 to 0x511b34 (100 bytes) // // 2 xrefs: // > LevelSelectLayer::scrollLayerMoved @ 0x511bbc // > LevelSelectLayer::init @ 0x512d32 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:51:32 +0000 // int __fastcall LevelSelectLayer::updateDeathButton(int this, int a2) { int v2; // r4 int v4; // r3 int v5; // r0 v2 = this; if ( *(_DWORD *)(this + 352) ) { v4 = *(_DWORD *)(this + 336); if ( v4 ) { this = *(_DWORD *)(v4 + 344); if ( this ) { this = cocos2d::CCArray::count((cocos2d::CCArray *)this); if ( this > 0 ) { v5 = cocos2d::CCArray::objectAtIndex( *(cocos2d::CCArray **)(*(_DWORD *)(v2 + 336) + 344), (a2 % this + this) % this); return (*(int (__fastcall **)(_DWORD, bool))(**(_DWORD **)(v2 + 352) + 172))( *(_DWORD *)(v2 + 352), (unsigned int)(*(_DWORD *)(v5 + 268) - *(_DWORD *)(v5 + 272) + 2) > 1); } } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source