// // SetupSmartBlockLayer::onAllowFlipping from 0x140457af0 to 0x140457bb4 (196 bytes) // // 3 xrefs: // > SetupSmartBlockLayer::init @ 0x1404575d0 // > SetupSmartBlockLayer::init @ 0x1404576b7 // > @ 0x1406da9e8 // // 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::onAllowFlipping(SetupSmartBlockLayer *a1, cocos2d::CCObject *a2) { __int64 v4; // rbx __int64 v5; // rbx bool v6; // al bool v7; // al void *v8; // [rsp+38h] [rbp+10h] if ( a2 ) { v4 = qword_1406C2EC0; if ( !qword_1406C2EC0 ) { v8 = operator new(0x3D0u); qword_1406C2EC0 = sub_140141280((__int64)v8); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2EC0 + 72LL))(qword_1406C2EC0); v4 = qword_1406C2EC0; } v5 = *(_QWORD *)(v4 + 960); if ( a2->getTag(a2) == 3 ) { v6 = !a1->m_allowFlipX; a1->m_allowFlipX = v6; if ( v5 ) *(_BYTE *)(v5 + 128) = v6; } else { v7 = !a1->m_allowFlipY; a1->m_allowFlipY = v7; if ( v5 ) *(_BYTE *)(v5 + 129) = v7; } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source