// // SetupAreaTintTriggerPopup::determineStartValues from 0xb3b6a0 to 0xb3b814 (372 bytes) // // 3 xrefs: // > @ 0x562c0 // > @ 0x14ba7e0 // > @ 0x14bb830 // // 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:48 +0000 // cocos2d::CCArray *__fastcall SetupAreaTintTriggerPopup::determineStartValues(cocos2d::CCObject **this) { unsigned __int64 v1; // x25 cocos2d::CCArray *result; // x0 cocos2d::CCArray *v4; // x21 unsigned int v5; // w19 int v6; // w23 int v7; // w22 __int64 v8; // x1 bool v9; // cf unsigned int v10; // w1 __int64 v11; // x0 int v12; // w4 int v13; // w2 int v14; // w1 SetupTriggerPopup::determineStartValues((SetupTriggerPopup *)this); result = *(this + 85); if ( result ) { v4 = (cocos2d::CCArray *)cocos2d::CCArray::create(result); result = (cocos2d::CCArray *)cocos2d::CCArray::addObject(v4, *(this + 85)); } else { v4 = *(this + 86); } if ( v4 ) { result = (cocos2d::CCArray *)cocos2d::CCArray::count(v4); if ( (_DWORD)result ) { v5 = 0; v6 = 1; v7 = 0; v8 = qword_155E2D0; *(this + 131) = (cocos2d::CCObject *)qword_155E2C8; *(this + 132) = (cocos2d::CCObject *)v8; v9 = (unsigned int)cocos2d::CCArray::count(v4) == 0; v10 = 0; for ( result = v4; !v9; result = v4 ) { v11 = cocos2d::CCArray::objectAtIndex(result, v10); if ( !v7 ) { if ( v6 ) { v12 = *(_DWORD *)(v11 + 1612); v13 = *(_DWORD *)(v11 + 1616); v6 = 0; v14 = *(_DWORD *)(v11 + 1620); *((_WORD *)this + 530) = *(_WORD *)(v11 + 1624); *((_DWORD *)this + 262) = v12; *((_DWORD *)this + 263) = v13; *((_DWORD *)this + 264) = v14; } else if ( *(float *)(v11 + 1612) != *((float *)this + 262) || *((float *)this + 263) != *(float *)(v11 + 1616) || *((float *)this + 264) != *(float *)(v11 + 1620) || (v1 = v1 & 0xFFFF0000FFFFFFFFLL | ((unsigned __int64)*(unsigned __int8 *)(v11 + 1624) << 32) & 0xFFFF00FFFFFFFFFFLL | ((unsigned __int64)*(unsigned __int8 *)(v11 + 1625) << 40), WORD2(v1) != *((unsigned __int16 *)this + 530)) ) { *((_DWORD *)this + 262) = -1165815185; v7 = 1; *((_DWORD *)this + 263) = 0; *((_BYTE *)this + 1060) = 0; *((_DWORD *)this + 264) = 0; *((_BYTE *)this + 1061) = 0; ++v5; goto LABEL_10; } } ++v5; LABEL_10: v9 = v5 >= (unsigned int)cocos2d::CCArray::count(v4); v10 = v5; } } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source