// // SetupSmartBlockLayer::determineStartValues from 0xb14430 to 0xb14504 (212 bytes) // // 2 xrefs: // > SetupSmartBlockLayer::init @ 0xb14ec4 // > @ 0xc4cc0 // // 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:31 +0000 // __int64 __fastcall SetupSmartBlockLayer::determineStartValues(cocos2d::CCArray **this) { GameManager *v2; // x0 GameManager *v3; // x0 GameManager *GameVariable; // x0 GameManager *v5; // x0 __int64 v6; // x1 __int64 result; // x0 unsigned int v8; // w20 bool v9; // cf unsigned int v10; // w1 cocos2d::CCArray *v11; // x0 v2 = *(GameManager **)(GameLevelManager::sharedState((GameLevelManager *)this) + 1528); if ( v2 ) { *((_BYTE *)this + 673) = *((_BYTE *)v2 + 138); *((_BYTE *)this + 674) = *((_BYTE *)v2 + 136); *((_BYTE *)this + 675) = *((_BYTE *)v2 + 137); v2 = (GameManager *)*((unsigned __int8 *)v2 + 139); *((_BYTE *)this + 678) = (_BYTE)v2; } v3 = (GameManager *)GameManager::sharedState(v2); GameVariable = (GameManager *)GameManager::getGameVariable(v3, "0131"); *((_BYTE *)this + 676) = (_BYTE)GameVariable; v5 = (GameManager *)GameManager::sharedState(GameVariable); *((_BYTE *)this + 677) = GameManager::getGameVariable(v5, "0132"); v6 = (__int64)*(this + 86); if ( v6 ) { result = *(unsigned __int8 *)(v6 + 1347); *((_BYTE *)this + 672) = result; } else { v8 = 0; *((_BYTE *)this + 672) = 1; while ( 1 ) { result = cocos2d::CCArray::count(*(this + 87)); v9 = v8 >= (unsigned int)result; v10 = v8++; if ( v9 ) break; while ( !*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*(this + 87), v10) + 1347) ) { v11 = *(this + 87); *((_BYTE *)this + 672) = 0; result = cocos2d::CCArray::count(v11); v9 = v8 >= (unsigned int)result; v10 = v8++; if ( v9 ) return result; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source