// // CustomizeObjectLayer::determineStartValues from 0x57e358 to 0x57e3fa (162 bytes) // // 1 xrefs: // > CustomizeObjectLayer::init @ 0x57f944 // // 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:52:51 +0000 // unsigned int __fastcall CustomizeObjectLayer::determineStartValues(CustomizeObjectLayer *this) { GameObject *v2; // r0 int RelativeSpriteColor; // r0 int v4; // r3 unsigned int result; // r0 unsigned int v6; // r5 GameObject *v7; // r0 GameObject *v8; // r6 v2 = *((GameObject **)this + 133); if ( !v2 ) { v6 = 0; *((_BYTE *)this + 570) = 1; while ( 1 ) { result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 134)); if ( v6 >= result ) return result; v7 = (GameObject *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 134), v6); v8 = v7; if ( *((_BYTE *)this + 568) ) { if ( *((_BYTE *)this + 569) ) goto LABEL_11; } else { *((_BYTE *)this + 568) = GameObject::getRelativeSpriteColor(v7, 1) != 0; } if ( !*((_BYTE *)this + 569) ) *((_BYTE *)this + 569) = GameObject::getRelativeSpriteColor(v8, 2) != 0; LABEL_11: if ( !*((_BYTE *)v8 + 884) ) *((_BYTE *)this + 570) = 0; ++v6; } } *((_BYTE *)this + 568) = GameObject::getRelativeSpriteColor(v2, 1) != 0; RelativeSpriteColor = GameObject::getRelativeSpriteColor(*((GameObject **)this + 133), 2); v4 = *((_DWORD *)this + 133); result = RelativeSpriteColor != 0; *((_BYTE *)this + 569) = result; *((_BYTE *)this + 570) = *(_BYTE *)(v4 + 884); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source