// // SetupSmartBlockLayer::determineStartValues from 0x672804 to 0x67288e (138 bytes) // // 1 xrefs: // > SetupSmartBlockLayer::init @ 0x672faa // // 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 // unsigned int __fastcall SetupSmartBlockLayer::determineStartValues(cocos2d::CCArray **this) { GameManager *v2; // r0 _BYTE *v3; // r3 GameManager *v4; // r0 GameManager *GameVariable; // r0 GameManager *v6; // r0 unsigned int result; // r0 unsigned int v8; // r5 v2 = (GameManager *)GameLevelManager::sharedState((GameLevelManager *)this); v3 = *((_BYTE **)v2 + 244); if ( v3 ) { *((_BYTE *)this + 525) = v3[94]; *((_BYTE *)this + 526) = v3[92]; *((_BYTE *)this + 527) = v3[93]; *((_BYTE *)this + 530) = v3[95]; } v4 = (GameManager *)GameManager::sharedState(v2); GameVariable = (GameManager *)GameManager::getGameVariable(v4, "0131"); *((_BYTE *)this + 528) = (_BYTE)GameVariable; v6 = (GameManager *)GameManager::sharedState(GameVariable); result = GameManager::getGameVariable(v6, "0132"); v8 = (unsigned int)*(this + 134); *((_BYTE *)this + 529) = result; if ( v8 ) { *((_BYTE *)this + 524) = *(_BYTE *)(v8 + 1167); } else { *((_BYTE *)this + 524) = 1; while ( 1 ) { result = cocos2d::CCArray::count(*(this + 135)); if ( v8 >= result ) break; if ( !*(_BYTE *)(cocos2d::CCArray::objectAtIndex(*(this + 135), v8) + 1167) ) *((_BYTE *)this + 524) = 0; ++v8; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source