// // SetupSmartBlockLayer::onAllowFlipping from 0x67253e to 0x672584 (70 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:55:53 +0000 // GameLevelManager *__fastcall SetupSmartBlockLayer::onAllowFlipping(GameLevelManager *this, cocos2d::CCObject *a2) { GameLevelManager *v2; // r5 GameLevelManager *v4; // r0 int ActiveSmartTemplate; // r4 char v6; // r3 char v7; // r3 v2 = this; if ( a2 ) { v4 = (GameLevelManager *)GameLevelManager::sharedState(this); ActiveSmartTemplate = GameLevelManager::getActiveSmartTemplate(v4); this = (GameLevelManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2); if ( this == (GameLevelManager *)((char *)&dword_0 + 3) ) { v6 = *((_BYTE *)v2 + 526) ^ 1; *((_BYTE *)v2 + 526) = v6; if ( ActiveSmartTemplate ) *(_BYTE *)(ActiveSmartTemplate + 92) = v6; } else { v7 = *((_BYTE *)v2 + 527) ^ 1; *((_BYTE *)v2 + 527) = v7; if ( ActiveSmartTemplate ) *(_BYTE *)(ActiveSmartTemplate + 93) = v7; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source