// // SetupSmartBlockLayer::onAllowRotation from 0x140457a70 to 0x140457ae3 (115 bytes) // // 2 xrefs: // > SetupSmartBlockLayer::init @ 0x1404574f8 // > @ 0x1406da9dc // // 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 // // Hidden C++ exception states: #wind=1 void SetupSmartBlockLayer::onAllowRotation(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { __int64 v3; // rcx __int64 v4; // rcx void *v5; // [rsp+30h] [rbp+8h] a1->m_allowRotation = !a1->m_allowRotation; v3 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v5 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v3 = qword_1406C2EC0; } v4 = *(_QWORD *)(v3 + 960); if ( v4 ) *(_BYTE *)(v4 + 130) = a1->m_allowRotation; }
GD Web Decomp Icon

GD Web Decomp

Raw Source