// // SetupCameraOffsetTrigger::updateEasingRateLabel from 0x140416b90 to 0x140416d68 (472 bytes) // // 4 xrefs: // > SetupCameraOffsetTrigger::init @ 0x140415e55 // > SetupCameraOffsetTrigger::valuePopupClosed @ 0x140416b7e // > SetupMGTrigger::init @ 0x140427c47 // > @ 0x1406d8f54 // // 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: SetupCameraOffsetTrigger::updateEasingRateLabel, SetupMGTrigger::updateEasingRateLabel // Hidden C++ exception states: #wind=1 void __fastcall SetupCameraOffsetTrigger::updateEasingRateLabel(__int64 a1) { cocos2d::CCString *v2; // rax const char *CString; // rax size_t v4; // r8 void **v5; // rax _QWORD *v6; // rsi void **v7; // rdx void *v8; // rcx void *Block[2]; // [rsp+20h] [rbp-38h] BYREF __int64 v10; // [rsp+30h] [rbp-28h] unsigned __int64 v11; // [rsp+38h] [rbp-20h] v2 = cocos2d::CCString::createWithFormat("%.02f", *(float *)(a1 + 972)); CString = cocos2d::CCString::getCString(v2); *(_OWORD *)Block = 0; v10 = 0; v11 = 0; v4 = -1; do ++v4; while ( CString[v4] ); sub_14003A930(Block, CString, v4); if ( *(float *)(a1 + 972) == -99999.0 ) { if ( v11 ) { v5 = Block; if ( v11 > 0xF ) v5 = (void **)Block[0]; v10 = 1; *(_WORD *)v5 = 45; } else { v6 = sub_14003AA10(0x10u); v10 = 1; v11 = 15; *(_WORD *)v6 = 45; Block[0] = v6; } } v7 = Block; if ( v11 > 0xF ) v7 = (void **)Block[0]; (**(void (__fastcall ***)(__int64, void **))(*(_QWORD *)(a1 + 984) + 360LL))(*(_QWORD *)(a1 + 984) + 360LL, v7); if ( v11 > 0xF ) { v8 = Block[0]; if ( v11 + 1 >= 0x1000 ) { v8 = *((void **)Block[0] - 1); if ( (unsigned __int64)((char *)Block[0] - (char *)v8 - 8) > 0x1F ) invalid_parameter_noinfo_noreturn(); } j_j_free(v8); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source