// // CCScrollLayerExt::updateIndicators from 0x694684 to 0x694908 (644 bytes) // // 3 xrefs: // > @ 0xc8ed8 // > CCScrollLayerExt::CCScrollLayerExt @ 0x694f20 // > @ 0x1545e30 // // 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 12:50:37 +0000 // __int64 __fastcall CCScrollLayerExt::updateIndicators(CCScrollLayerExt *this, float a2) { const cocos2d::CCSize *v3; // x0 const cocos2d::CCSize *v4; // x0 float *v5; // x0 float v6; // s8 const cocos2d::CCPoint *v7; // x0 float v8; // s0 __int64 v10; // x0 float v11; // s8 const cocos2d::CCPoint *v12; // x0 float v13; // s1 float v14[2]; // [xsp+40h] [xbp+40h] BYREF float v15; // [xsp+48h] [xbp+48h] BYREF float v16; // [xsp+4Ch] [xbp+4Ch] float v17; // [xsp+50h] [xbp+50h] BYREF float v18; // [xsp+54h] [xbp+54h] float v19[2]; // [xsp+58h] [xbp+58h] BYREF _BYTE v20[8]; // [xsp+60h] [xbp+60h] BYREF (*(void (__fastcall **)(_QWORD, _QWORD, float))(**((_QWORD **)this + 59) + 344LL))( *((_QWORD *)this + 59), *((unsigned __int8 *)this + 497), a2); (*(void (__fastcall **)(_QWORD, _QWORD))(**((_QWORD **)this + 58) + 344LL))( *((_QWORD *)this + 58), *((unsigned __int8 *)this + 498)); v3 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 328LL))(*((_QWORD *)this + 61)); cocos2d::CCSize::CCSize((cocos2d::CCSize *)v14, v3); v4 = (const cocos2d::CCSize *)(*(__int64 (__fastcall **)(CCScrollLayerExt *))(*(_QWORD *)this + 328LL))(this); cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v15, v4); if ( *((_BYTE *)this + 498) ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v17, 4.0, (float)(v16 * v16) / v14[1]); (*(void (__fastcall **)(_QWORD, float *))(**((_QWORD **)this + 58) + 320LL))(*((_QWORD *)this + 58), &v17); v10 = (*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 192LL))(*((_QWORD *)this + 61)); v11 = (float)((float)(*(float *)(v10 + 4) - v16) * v18) / v16; v12 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 58) + 192LL))(*((_QWORD *)this + 58)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v12); v13 = (float)(v16 - v11) - v18 * 0.5; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v19[0], v13); (*(void (__fastcall **)(_QWORD, _BYTE *))(**((_QWORD **)this + 58) + 184LL))(*((_QWORD *)this + 58), v20); } if ( *((_BYTE *)this + 497) ) { cocos2d::CCSize::CCSize((cocos2d::CCSize *)&v17, (float)(v15 * v15) / v14[0], 4.0); (*(void (__fastcall **)(_QWORD, float *))(**((_QWORD **)this + 59) + 320LL))(*((_QWORD *)this + 59), &v17); v5 = (float *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 61) + 192LL))(*((_QWORD *)this + 61)); v6 = (float)((float)(*v5 - v15) * v17) / v15; v7 = (const cocos2d::CCPoint *)(*(__int64 (__fastcall **)(_QWORD))(**((_QWORD **)this + 59) + 192LL))(*((_QWORD *)this + 59)); cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v19, v7); v8 = (float)-v6 + v15 * 0.5 - v17 * 0.5; cocos2d::CCPoint::CCPoint((cocos2d::CCPoint *)v20, v8, v19[1]); (*(void (__fastcall **)(_QWORD, _BYTE *))(**((_QWORD **)this + 59) + 184LL))(*((_QWORD *)this + 59), v20); } return _stack_chk_guard; }