// // GJFollowCommandLayer::updateDurLabel from 0x140271de0 to 0x140271ea6 (198 bytes) // // 6 xrefs: // > GJFollowCommandLayer::init @ 0x140270e79 // > GJPFollowCommandLayer::init @ 0x14028af61 // > SetupCameraOffsetTrigger::init @ 0x140415bab // > SetupMGTrigger::init @ 0x140427987 // > SetupShakePopup::init @ 0x1404559ed // > @ 0x1406d0ddc // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // // Merged with: GJFollowCommandLayer::updateDurLabel, GJPFollowCommandLayer::updateDurLabel, SetupMGTrigger::updateDurLabel, SetupShakePopup::updateDurLabel void __fastcall GJFollowCommandLayer::updateDurLabel(__int64 a1, char a2) { float v2; // xmm3_4 const char *CString; // rax cocos2d::CCString *v5; // rax size_t v6; // r8 __int128 v7; // [rsp+20h] [rbp-28h] BYREF __int64 v8; // [rsp+30h] [rbp-18h] __int64 v9; // [rsp+38h] [rbp-10h] v2 = *(float *)(a1 + 952); CString = "Mixed"; *(_BYTE *)(a1 + 716) = 1; if ( v2 != -99999.0 ) { if ( a2 || (float)(v2 - (float)(int)v2) != 0.0 ) v5 = cocos2d::CCString::createWithFormat("%.02f", v2); else v5 = cocos2d::CCString::createWithFormat("%i", (int)v2); CString = cocos2d::CCString::getCString(v5); } v7 = 0; v8 = 0; v6 = -1; v9 = 0; do ++v6; while ( CString[v6] ); sub_14003A930(&v7, CString, v6); CCTextInputNode::setString(*(_QWORD *)(a1 + 936), &v7); *(_BYTE *)(a1 + 716) = 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source