// // verifyGradientObjectsMatch from 0xc0fa44 to 0xc0fb44 (256 bytes) // // 1 xrefs: // > @ 0xe9128 // // 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:03:56 +0000 // __int64 __fastcall verifyGradientObjectsMatch(cocos2d::CCArray *a1, cocos2d::CCArray *a2) { int v4; // w19 unsigned int v5; // w21 int v6; // w23 unsigned int v8; // w19 __int64 v9; // x20 __int64 v10; // x0 int v11; // w1 int v12; // w0 if ( !a1 ) { v4 = 0; if ( !a2 ) return 1; LABEL_3: v5 = 0; v6 = cocos2d::CCArray::count(a2); if ( v4 != v6 ) return v5; goto LABEL_8; } v4 = cocos2d::CCArray::count(a1); if ( a2 ) goto LABEL_3; v6 = 0; v5 = 0; if ( v4 ) return v5; LABEL_8: v5 = 1; if ( v6 > 0 ) { v8 = 0; v9 = cocos2d::CCArray::objectAtIndex(a1, 0); v10 = cocos2d::CCArray::objectAtIndex(a2, 0); if ( !v9 ) goto LABEL_16; LABEL_10: v11 = *(_DWORD *)(v9 + 916); if ( v10 ) LABEL_11: v12 = *(_DWORD *)(v10 + 916); else v12 = 0; if ( v11 != v12 ) v5 = 0; while ( v6 != ++v8 ) { v9 = cocos2d::CCArray::objectAtIndex(a1, v8); v10 = cocos2d::CCArray::objectAtIndex(a2, v8); if ( v9 ) goto LABEL_10; LABEL_16: v11 = 0; if ( v10 ) goto LABEL_11; } } return v5; }
GD Web Decomp Icon

GD Web Decomp

Raw Source