// // SetupGravityModPopup::determineStartValues from 0xafb1d0 to 0xafb2b4 (228 bytes) // // 2 xrefs: // > SetupGravityModPopup::init @ 0xafb6ec // > @ 0x66358 // // 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:17 +0000 // __int64 __fastcall SetupGravityModPopup::determineStartValues(__int64 this) { __int64 v1; // x1 __int64 v2; // x19 float v3; // s8 unsigned int v4; // w20 int v5; // w1 int v6; // w0 v1 = *(_QWORD *)(this + 664); if ( v1 ) { *(_DWORD *)(this + 696) = *(_DWORD *)(v1 + 1812); *(_DWORD *)(this + 728) = *(_DWORD *)(v1 + 1680); } else if ( *(_QWORD *)(this + 672) ) { v2 = this; this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(this + 672)); if ( (_DWORD)this ) { *(_DWORD *)(v2 + 728) = -1; v3 = -999.0; v4 = 0; *(float *)(v2 + 696) = 1.0; while ( 1 ) { this = cocos2d::CCArray::count(*(cocos2d::CCArray **)(v2 + 672)); if ( v4 >= (unsigned int)this ) break; this = cocos2d::CCArray::objectAtIndex(*(cocos2d::CCArray **)(v2 + 672), v4); if ( v3 == -999.0 ) { v3 = *(float *)(this + 1812); } else if ( v3 != *(float *)(this + 1812) ) { break; } v5 = *(_DWORD *)(v2 + 728); v6 = *(_DWORD *)(this + 1680); if ( v5 == -1 ) { *(_DWORD *)(v2 + 728) = v6; ++v4; } else { if ( v5 != v6 ) *(_DWORD *)(v2 + 728) = 0; ++v4; } } *(float *)(v2 + 696) = v3; } } return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source