// // SetupCameraOffsetTrigger::onEasingRate from 0x967300 to 0x9674c8 (456 bytes) // // 3 xrefs: // > @ 0x34668 // > SetupCameraOffsetTrigger::init @ 0x968558 // > @ 0x1229958 // // 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 // void SetupCameraOffsetTrigger::onEasingRate(SetupCameraOffsetTrigger *a1, cocos2d::CCObject *a2) { float m_cameraEasingRate; // s8 ConfigureValuePopupDelegate *v3; // x22 __int64 v4; // x22 void *v5; // x0 void *v6; // x0 unsigned int *v7; // x1 int v8; // w2 unsigned int *v9; // x1 int v10; // w2 __int64 v11; // [xsp+58h] [xbp+58h] BYREF __int64 v12; // [xsp+60h] [xbp+60h] BYREF m_cameraEasingRate = a1->m_cameraEasingRate; v3 = &a1->ConfigureValuePopupDelegate; sub_D153B8((int)&v11, "Easing Rate"); sub_D153B8((int)&v12, &byte_F288A0); v4 = ConfigureValuePopup::create((__int64)v3, m_cameraEasingRate, 0.1, 4.0, (__int64)&v11, (__int64)&v12, 0); v5 = (void *)(v12 - 24); if ( (__int64 *)(v12 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v7 = (unsigned int *)(v12 - 8); do v8 = __ldaxr(v7); while ( __stlxr(v8 - 1, v7) ); } else { v8 = *(_DWORD *)(v12 - 8); *(_DWORD *)(v12 - 8) = v8 - 1; } if ( v8 <= 0 ) operator delete(v5); } v6 = (void *)(v11 - 24); if ( (__int64 *)(v11 - 24) != &qword_124B6B0 ) { if ( &pthread_create ) { v9 = (unsigned int *)(v11 - 8); do v10 = __ldaxr(v9); while ( __stlxr(v10 - 1, v9) ); } else { v10 = *(_DWORD *)(v11 - 8); *(_DWORD *)(v11 - 8) = v10 - 1; } if ( v10 <= 0 ) operator delete(v6); } (*(void (__fastcall **)(__int64))(*(_QWORD *)v4 + 1288LL))(v4); }
GD Web Decomp Icon

GD Web Decomp

Raw Source