// // SetupOpacityPopup::determineStartValues from 0x1405c07b0 to 0x1405c093b (395 bytes) // // 4 xrefs: // > @ 0x1407f8120 // > @ 0x1408e0498 // > @ 0x1408e04cc // > @ 0x14092e0dc // // This function is hookable on this platform (idp: pc, 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 11:34:47 +0000 // void __fastcall SetupOpacityPopup::determineStartValues(__int64 a1) { __int64 v2; // rcx cocos2d::CCArray *v3; // rdi unsigned int v4; // esi float v5; // xmm7_4 float v6; // xmm6_4 struct cocos2d::CCObject *v7; // rax int v8; // ecx int v9; // eax SetupTriggerPopup::determineStartValues(); if ( *(_QWORD *)(a1 + 680) ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(v2); cocos2d::CCArray::addObject(v3, *(struct cocos2d::CCObject **)(a1 + 680)); } else { v3 = *(cocos2d::CCArray **)(a1 + 688); } if ( v3 ) { if ( cocos2d::CCArray::count(v3) ) { v4 = 0; v5 = -99999.0; *(_DWORD *)(a1 + 1040) = 1065353216; v6 = -99999.0; *(_DWORD *)(a1 + 1048) = -99999; if ( cocos2d::CCArray::count(v3) ) { do { v7 = cocos2d::CCArray::objectAtIndex(v3, v4); if ( v5 == -99999.0 ) { v5 = *((float *)v7 + 367); } else if ( v5 != *((float *)v7 + 367) ) { v5 = -2.0; } if ( v6 == -99999.0 ) { v6 = *((float *)v7 + 368); } else if ( v6 != *((float *)v7 + 368) ) { v6 = -2.0; } v8 = *(_DWORD *)(a1 + 1048); v9 = *((_DWORD *)v7 + 370); if ( v8 == -99999 ) { *(_DWORD *)(a1 + 1048) = v9; } else if ( v8 != v9 ) { *(_DWORD *)(a1 + 1048) = 0; } ++v4; } while ( v4 < cocos2d::CCArray::count(v3) ); if ( v5 >= 0.0 ) *(float *)(a1 + 1044) = v5; if ( v6 >= 0.0 ) *(float *)(a1 + 1040) = v6; } } } }
GD Web Decomp Icon

GD Web Decomp

Raw Source