// // StartPosLayer::onSelectSpeed from 0x14045fc90 to 0x14045fd18 (136 bytes) // // 2 xrefs: // > StartPosLayer::addSpeedButtons @ 0x14045fac3 // > @ 0x140927e00 // // 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:33 +0000 // unsigned int __fastcall StartPosLayer::onSelectSpeed(__int64 a1, __int64 a2) { int v3; // eax __int64 v4; // rdx int v5; // ecx int v6; // ecx int v7; // ecx int v8; // ecx int v9; // edx if ( a2 ) { v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2); v4 = *(_QWORD *)(a1 + 1000); *(_DWORD *)(a1 + 1012) = v3; *(_DWORD *)(*(_QWORD *)(v4 + 1856) + 332LL) = v3; } v5 = *(_DWORD *)(a1 + 1012); if ( !v5 ) goto LABEL_12; v6 = v5 - 1; if ( !v6 ) { v9 = 0; return sub_14045F690(*(cocos2d::CCArray **)(a1 + 1024), v9); } v7 = v6 - 1; if ( !v7 ) { v9 = 2; return sub_14045F690(*(cocos2d::CCArray **)(a1 + 1024), v9); } v8 = v7 - 1; if ( !v8 ) { v9 = 3; return sub_14045F690(*(cocos2d::CCArray **)(a1 + 1024), v9); } if ( v8 != 1 ) { LABEL_12: v9 = 1; return sub_14045F690(*(cocos2d::CCArray **)(a1 + 1024), v9); } v9 = 4; return sub_14045F690(*(cocos2d::CCArray **)(a1 + 1024), v9); }
GD Web Decomp Icon

GD Web Decomp

Raw Source