// // SetupSmartBlockLayer::onAllowFlipping from 0xb13fe4 to 0xb1406c (136 bytes) // // 4 xrefs: // > @ 0xf16d8 // > SetupSmartBlockLayer::init @ 0xb15540 // > SetupSmartBlockLayer::init @ 0xb15618 // > @ 0x15474c8 // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 13:01:30 +0000 // GameLevelManager *__fastcall SetupSmartBlockLayer::onAllowFlipping(GameLevelManager *this, cocos2d::CCObject *a2) { GameLevelManager *v3; // x20 GameLevelManager *v4; // x0 __int64 ActiveSmartTemplate; // x21 if ( a2 ) { v3 = this; v4 = (GameLevelManager *)GameLevelManager::sharedState(this); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v4); if ( (*(unsigned int (__fastcall **)(cocos2d::CCObject *))(*(_QWORD *)a2 + 64LL))(a2) == 3 ) { this = (GameLevelManager *)(*((unsigned __int8 *)v3 + 674) ^ 1u); *((_BYTE *)v3 + 674) ^= 1u; if ( ActiveSmartTemplate ) *(_BYTE *)(ActiveSmartTemplate + 136) = (_BYTE)this; } else { this = (GameLevelManager *)(*((unsigned __int8 *)v3 + 675) ^ 1u); *((_BYTE *)v3 + 675) ^= 1u; if ( ActiveSmartTemplate ) *(_BYTE *)(ActiveSmartTemplate + 137) = (_BYTE)this; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source