// // LevelSelectLayer::updateDeathButton from 0x1404430b0 to 0x140443143 (147 bytes) // // 3 xrefs: // > LevelSelectLayer::init @ 0x1404424ab // > LevelSelectLayer::scrollLayerMoved @ 0x1404426b6 // > @ 0x140927194 // // 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 // void __fastcall LevelSelectLayer::updateDeathButton(__int64 a1, int a2) { __int64 v4; // rcx cocos2d::CCArray *v5; // rcx int v6; // ecx struct cocos2d::CCObject *v7; // rax __int64 v8; // rdx int v9; // ecx if ( *(_QWORD *)(a1 + 472) ) { v4 = *(_QWORD *)(a1 + 448); if ( v4 ) { v5 = *(cocos2d::CCArray **)(v4 + 448); if ( v5 ) { v6 = cocos2d::CCArray::count(v5); if ( v6 > 0 ) { v7 = cocos2d::CCArray::objectAtIndex( *(cocos2d::CCArray **)(*(_QWORD *)(a1 + 448) + 448LL), (v6 + a2 % v6) % v6); v9 = *((_DWORD *)v7 + 82) - *((_DWORD *)v7 + 83); if ( v9 == -1 || v9 == -2 ) v8 = 0; else LOBYTE(v8) = 1; (*(void (__fastcall **)(_QWORD, __int64))(**(_QWORD **)(a1 + 472) + 336LL))(*(_QWORD *)(a1 + 472), v8); } } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source