// // PlayLayer::updateTestModeLabel from 0x100080540 to 0x1000806b0 (368 bytes) // // 8 xrefs: // > PlayLayer::init @ 0x100079d57 // > sub_10007A340 @ 0x10007a373 // > PlayLayer::setupHasCompleted @ 0x10007bedd // > PlayLayer::switchToStartPosObject @ 0x10008c0cf // > PlayLayer::resetLevel @ 0x10008c7b1 // > PlayLayer::resetLevel @ 0x10008c7f2 // > PlayLayer::resume @ 0x10008ddbe // > UILayer::handleAction @ 0x1004c47fa // // 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:20:01 +0000 // void __fastcall PlayLayer::updateTestModeLabel(__int64 a1) { __int64 v2; // rdi int v3; // eax __m128 v4; // rt1 const std::string::value_type *v5; // rsi float v6; // xmm0_4 __int64 v7; // rax const std::string::value_type *CString; // rax std::string::pointer data; // rsi std::string v10; // [rsp+0h] [rbp-20h] BYREF v2 = *(_QWORD *)(a1 + 14200); if ( !v2 ) return; LOBYTE(v3) = 1; if ( !*(_BYTE *)(a1 + 14185) && !*(_BYTE *)(a1 + 14186) && !*(_BYTE *)(a1 + 12616) ) { v4.i32[0] = *(_DWORD *)(a1 + 13112); v3 = _mm_cvtsi128_si32((__m128i)_mm_cmpneq_ss((__m128)0x3F800000u, v4)) & 1; } (*(void (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v2 + 344LL))(v2, (unsigned __int8)v3); *(_WORD *)&v10.__r_.__value_.__l.0 = 0; if ( *(_BYTE *)(a1 + 1978) ) { v5 = "Ignore Damage"; LABEL_12: std::string::assign(&v10, v5); goto LABEL_13; } if ( *(_BYTE *)(a1 + 14185) ) { v5 = "Used Ignore Damage"; goto LABEL_12; } if ( *(_BYTE *)(a1 + 12616) == 1 ) { v5 = "Testmode"; goto LABEL_12; } LABEL_13: v6 = *(float *)(a1 + 13112); if ( v6 != 1.0 || *(_BYTE *)(a1 + 14186) == 1 ) { if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) { if ( !v10.__r_.__value_.__l.__size_ ) goto LABEL_20; } else if ( !(*(_BYTE *)&v10.__r_.__value_.__l.0 >> 1) ) { LABEL_20: if ( *(_BYTE *)(a1 + 14186) == 1 && v6 == 1.0 ) { std::string::append(&v10, "Used Speed Change"); } else { v7 = sub_10088E820("Speed: %.01fx", *(_BYTE *)&v10.__r_.__value_.__l.0); CString = (const std::string::value_type *)cocos2d::CCString::getCString(v7); std::string::append(&v10, CString); } goto LABEL_24; } std::string::append(&v10, "\n"); v6 = *(float *)(a1 + 13112); goto LABEL_20; } LABEL_24: if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) data = v10.__r_.__value_.__l.__data_; else data = v10.__r_.__value_.__s.__data_; (*(void (__fastcall **)(_QWORD, std::string::pointer))(**(_QWORD **)(a1 + 14200) + 928LL))( *(_QWORD *)(a1 + 14200), data); if ( (*(_BYTE *)&v10.__r_.__value_.__s.0 & 1) != 0 ) operator delete(v10.__r_.__value_.__l.__data_); }
GD Web Decomp Icon

GD Web Decomp

Raw Source