// // SetupPortalPopup::determineStartValues from 0x1005701a0 to 0x1005703ca (554 bytes) // // 1 xrefs: // > SetupPortalPopup::init @ 0x10056fb93 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // void __fastcall SetupPortalPopup::determineStartValues(SetupPortalPopup *a1) { cocos2d::CCArray *m_gameObjects; // rax float v2; // xmm0_4 unsigned int v3; // r14d char v4; // r13 char v5; // r15 __int64 v6; // rax char v7; // r12 float v8; // xmm1_4 float v9; // xmm0_4 float v10; // [rsp+0h] [rbp-30h] float v11; // [rsp+4h] [rbp-2Ch] a1->m_cameraEasing = 0; a1->m_cameraPadding = 0.0; m_gameObjects = a1->m_gameObjects; if ( m_gameObjects ) { a1->m_freeMode = m_gameObjects[27].m_uReference; a1->m_cameraSettingsEnabled = BYTE1(m_gameObjects[27].m_uReference); a1->m_cameraEasing = (int)*(float *)&m_gameObjects[27].m_uAutoReleaseCount; v2 = *(float *)&m_gameObjects[27].m_eObjType; LABEL_3: a1->m_cameraPadding = v2; goto LABEL_4; } *(_WORD *)&a1->m_freeMode = 257; if ( !(unsigned int)sub_100720070(a1->m_gameObject) ) goto LABEL_4; v3 = 0; v11 = -99999.0; v4 = 0; v5 = 0; v10 = -99999.0; do { v6 = sub_1007200C0(a1->m_gameObject, v3); if ( *(_BYTE *)(v6 + 1748) ) { if ( *(_BYTE *)(v6 + 1749) ) goto LABEL_13; } else { a1->m_freeMode = 0; if ( *(_BYTE *)(v6 + 1749) ) { LABEL_13: v7 = 1; v8 = v10; if ( (v5 & 1) != 0 ) goto LABEL_14; goto LABEL_18; } } a1->m_cameraSettingsEnabled = 0; v7 = 1; v8 = v10; if ( (v5 & 1) != 0 ) { LABEL_14: v5 = 1; if ( (v4 & 1) != 0 ) goto LABEL_10; goto LABEL_25; } LABEL_18: if ( v11 == -99999.0 ) { v5 = 0; v11 = *(float *)(v6 + 1752); if ( (v4 & 1) != 0 ) goto LABEL_10; } else if ( v11 == *(float *)(v6 + 1752) ) { v5 = 0; if ( (v4 & 1) != 0 ) goto LABEL_10; } else { v5 = 1; v11 = -99999.0; if ( (v4 & 1) != 0 ) goto LABEL_10; } LABEL_25: v9 = *(float *)(v6 + 1756); if ( v8 == -99999.0 ) { v7 = 0; LABEL_9: v10 = v9; goto LABEL_10; } if ( v8 != v9 ) { v9 = -99999.0; goto LABEL_9; } v7 = 0; LABEL_10: ++v3; v4 = v7; } while ( v3 < (unsigned int)sub_100720070(a1->m_gameObject) ); if ( v11 != -99999.0 ) a1->m_cameraEasing = (int)v11; v2 = v10; if ( v10 != -99999.0 ) goto LABEL_3; LABEL_4: if ( !a1->m_cameraSettingsEnabled ) { a1->m_cameraEasing = 10; a1->m_cameraPadding = 0.5; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source