// // SetupPortalPopup::determineStartValues from 0xab06fc to 0xab0864 (360 bytes) // // 2 xrefs: // > SetupPortalPopup::init @ 0xab0f58 // > @ 0xc78b8 // // 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:00:56 +0000 // __int64 __fastcall SetupPortalPopup::determineStartValues(SetupPortalPopup *this) { __int64 v2; // x0 int v3; // w1 __int64 result; // x0 unsigned int v5; // w20 float v6; // s10 float v7; // s9 int v8; // w22 int v9; // w21 __int64 v10; // x0 v2 = *((_QWORD *)this + 84); *((_DWORD *)this + 178) = 0; *((_DWORD *)this + 184) = 0; if ( v2 ) { *((_BYTE *)this + 740) = *(_BYTE *)(v2 + 1748); v3 = *(unsigned __int8 *)(v2 + 1749); *((_BYTE *)this + 741) = v3; *((_DWORD *)this + 178) = (int)*(float *)(v2 + 1752); result = *(unsigned int *)(v2 + 1756); *((_DWORD *)this + 184) = result; goto LABEL_3; } *((_BYTE *)this + 740) = 1; v5 = 0; v6 = -99999.0; *((_BYTE *)this + 741) = 1; v7 = -99999.0; v8 = 0; v9 = 0; result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 83)); if ( (_DWORD)result ) { do { v10 = cocos2d::CCArray::objectAtIndex(*((cocos2d::CCArray **)this + 83), v5); if ( !*(_BYTE *)(v10 + 1748) ) *((_BYTE *)this + 740) = 0; if ( !*(_BYTE *)(v10 + 1749) ) *((_BYTE *)this + 741) = 0; if ( !v9 ) { if ( v7 == -99999.0 ) { v7 = *(float *)(v10 + 1752); } else if ( v7 != *(float *)(v10 + 1752) ) { v7 = -99999.0; v9 = 1; } } if ( !v8 ) { if ( v6 == -99999.0 ) { v6 = *(float *)(v10 + 1756); } else if ( v6 != *(float *)(v10 + 1756) ) { v6 = -99999.0; v8 = 1; ++v5; goto LABEL_18; } } ++v5; LABEL_18: result = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 83)); } while ( v5 < (unsigned int)result ); } if ( v7 != -99999.0 ) *((_DWORD *)this + 178) = (int)v7; v3 = *((unsigned __int8 *)this + 741); if ( v6 != -99999.0 ) *((float *)this + 184) = v6; LABEL_3: if ( !v3 ) { result = 10; *((_DWORD *)this + 178) = 10; *((float *)this + 184) = 0.5; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source