// // verifyGradientObjectsMatch from 0x717214 to 0x717280 (108 bytes) // // 0 xrefs: // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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:57:49 +0000 // int __fastcall verifyGradientObjectsMatch(cocos2d::CCArray *a1, cocos2d::CCArray *a2) { int v4; // r5 signed int v5; // r9 signed int v6; // r6 int v7; // r7 int v8; // r5 int v9; // r0 if ( a1 ) { v4 = cocos2d::CCArray::count(a1); if ( !a2 ) { v5 = 0; goto LABEL_7; } } else { if ( !a2 ) { v5 = 0; goto LABEL_8; } v4 = 0; } v5 = cocos2d::CCArray::count(a2); LABEL_7: if ( v4 == v5 ) { LABEL_8: v6 = 0; v7 = 1; while ( 1 ) { if ( v6 >= v5 ) return v7; v8 = cocos2d::CCArray::objectAtIndex(a1, v6); v9 = cocos2d::CCArray::objectAtIndex(a2, v6); if ( v8 ) { v8 = *(_DWORD *)(v8 + 780); if ( !v9 ) goto LABEL_13; } else if ( !v9 ) { goto LABEL_15; } v9 = *(_DWORD *)(v9 + 780); LABEL_13: if ( v8 != v9 ) v7 = 0; LABEL_15: ++v6; } } return 0; }
GD Web Decomp Icon

GD Web Decomp

Raw Source