// // SetupShakePopup::determineStartValues from 0xaa0f9c to 0xaa1108 (364 bytes) // // 2 xrefs: // > @ 0xb13e8 // > @ 0x14a1b60 // // 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:48 +0000 // cocos2d::CCArray *__fastcall SetupShakePopup::determineStartValues(cocos2d::CCObject **this) { cocos2d::CCArray *result; // x0 cocos2d::CCArray *v3; // x20 unsigned int v4; // w19 int v5; // w23 float v6; // s9 int v7; // w22 float v8; // s10 int v9; // w21 float v10; // s11 float *v11; // x0 SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); result = *(this + 85); if ( result ) { v3 = (cocos2d::CCArray *)cocos2d::CCArray::create(result); result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v3, *(this + 85)); } else { v3 = *(this + 86); } if ( v3 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( (_DWORD)result ) { v4 = 0; v5 = 0; v6 = -99999.0; v7 = 0; v8 = -99999.0; v9 = 0; v10 = -99999.0; result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); if ( (_DWORD)result ) { do { v11 = (float *)cocos2d::CCArray::objectAtIndex(v3, v4); if ( !v9 ) { if ( v10 == -99999.0 ) { v10 = v11[363]; } else if ( v10 != v11[363] ) { v10 = -99999.0; v9 = 1; } } if ( !v7 ) { if ( v8 == -99999.0 ) { v8 = v11[369]; } else if ( v8 != v11[369] ) { v8 = -99999.0; v7 = 1; } } if ( !v5 ) { if ( v6 == -99999.0 ) { v6 = v11[370]; } else if ( v6 != v11[370] ) { v6 = -99999.0; v5 = 1; ++v4; goto LABEL_16; } } ++v4; LABEL_16: result = (cocos2d::CCArray *)cocos2d::CCArray::count(v3); } while ( v4 < (unsigned int)result ); } if ( v10 != -99999.0 ) *((float *)this + 258) = v10; if ( v8 != -99999.0 ) *((float *)this + 264) = v8; if ( v6 != -99999.0 ) *((float *)this + 270) = v6; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source