// // SetupGravityModPopup::determineStartValues from 0x663110 to 0x6631ba (170 bytes) // // 1 xrefs: // > SetupGravityModPopup::init @ 0x66344a // // 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:39 +0000 // _DWORD *__fastcall SetupGravityModPopup::determineStartValues(_DWORD *this) { float *v1; // r4 unsigned int v2; // r5 float v3; // s16 float *v4; // r3 int v5; // r2 int v6; // r3 v1 = (float *)this; v2 = *(this + 130); if ( v2 ) { *(this + 134) = *(_DWORD *)(v2 + 1628); *(this + 140) = *(_DWORD *)(v2 + 1500); } else { this = (_DWORD *)*(this + 131); if ( this ) { this = (_DWORD *)cocos2d::CCArray::count((cocos2d::CCArray *)this); if ( this ) { v3 = -999.0; v1[134] = 1.0; v1[140] = NAN; while ( 1 ) { this = (_DWORD *)cocos2d::CCArray::count(*((cocos2d::CCArray **)v1 + 131)); if ( v2 >= (unsigned int)this ) break; this = (_DWORD *)cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)v1 + 131), v2); v4 = (float *)(this + 407); if ( v3 == -999.0 ) { v3 = *v4; } else if ( v3 != *v4 ) { break; } v5 = *((_DWORD *)v1 + 140); v6 = *(this + 375); if ( v5 == -1 ) { *((_DWORD *)v1 + 140) = v6; } else if ( v5 != v6 ) { v1[140] = 0.0; } ++v2; } v1[134] = v3; } } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source