// // SetupSpawnPopup::onSelectRemap from 0x10027bff0 to 0x10027c0e3 (243 bytes) // // 1 xrefs: // > SetupSpawnPopup::updateRemapButtons @ 0x10027bc2b // // 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 12:27:41 +0000 // __int64 __fastcall SetupSpawnPopup::onSelectRemap(__int64 a1, __int64 a2) { __int64 result; // rax __int64 v4; // rdi unsigned __int64 v5; // rcx __int64 v6; // rdx int v7; // ecx __int64 v8; // rax __int64 v9; // rax if ( *(_BYTE *)(a1 + 1012) ) return result; v4 = a2; v5 = (*(int (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2); v6 = *(_QWORD *)(a1 + 1024); if ( (*(_QWORD *)(a1 + 1032) - v6) >> 3 <= v5 ) sub_10027C120(a2); result = *(unsigned int *)(v6 + 8 * v5); if ( *(_DWORD *)(a1 + 1048) != (_DWORD)result ) { v7 = *(_DWORD *)(v6 + 8 * v5 + 4); LABEL_8: *(_DWORD *)(a1 + 1048) = result; *(_DWORD *)(a1 + 1052) = v7; SetupTriggerPopup::updateValue((_QWORD *)a1, 0xFFFFFFFF, (float)(int)result); v4 = a1; a2 = 4294967294LL; result = SetupTriggerPopup::updateValue((_QWORD *)a1, 0xFFFFFFFE, (float)*(int *)(a1 + 1052)); if ( !*(_BYTE *)(a1 + 1012) ) goto LABEL_6; return result; } v7 = *(_DWORD *)(v6 + 8 * v5 + 4); if ( *(_DWORD *)(a1 + 1052) != v7 ) goto LABEL_8; *(_QWORD *)(a1 + 1048) = 0; if ( !*(_BYTE *)(a1 + 1012) ) { LABEL_6: v8 = cocos2d::CCDirector::sharedDirector(v4, a2); v9 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)v8 + 128LL))(v8); return cocos2d::CCScheduler::scheduleSelector( v9, SetupSpawnPopup::updateRemapButtons, 0, a1, 4294967294LL, 0, 0.0, 0.0); } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source