// // BoomScrollLayer::updateDots from 0x100155488 to 0x100155628 (416 bytes) // // 4 xrefs: // > BoomScrollLayer::init @ 0x100154b80 // > BoomScrollLayer::setPagesIndicatorPosition @ 0x100154df8 // > BoomScrollLayer::moveToPageEnded @ 0x100155ac8 // > BoomScrollLayer::init @ 0x100154cec // // 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 10:59:41 +0000 // __int64 __fastcall BoomScrollLayer::updateDots(__int64 result) { __int64 v1; // x19 __int64 v2; // x8 int v3; // w20 float v4; // s8 double *v5; // x0 double v6; // d0 int v7; // w21 __int64 v8; // x22 float v9; // s9 __int64 v10; // x24 __int64 v11; // [xsp+8h] [xbp-78h] BYREF if ( *(_QWORD *)(result + 416) ) { v1 = result; v2 = 480; if ( *(_BYTE *)(result + 456) ) v2 = 448; v3 = sub_1002E757C(*(_QWORD *)(result + v2)); v4 = *(float *)(v1 + 576); v5 = (double *)(*(__int64 (__fastcall **)(_QWORD))(**(_QWORD **)(v1 + 504) + 192LL))(*(_QWORD *)(v1 + 504)); v6 = sub_1000262F4(&v11, v5); result = BoomScrollLayer::pageNumberForPosition(v1, v6); v7 = result; if ( *(_BYTE *)(v1 + 436) == 1 ) { result = BoomScrollLayer::getRelativePageForNum(v1, result); v7 = result; } if ( v3 >= 1 ) { v8 = 0; do { v9 = *(float *)(v1 + 572); result = sub_1002E757C(*(_QWORD *)(v1 + 416)); if ( (unsigned int)v8 < (unsigned int)result ) { v10 = sub_1002E75A0(*(_QWORD *)(v1 + 416), v8); sub_1000262BC( (float *)&v11, v9 + (float)((float)((float)(unsigned int)v8 + (float)((float)((float)v3 + -1.0) * -0.5)) * 16.0), v4); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 184LL))(v10, &v11); if ( v7 == (_DWORD)v8 ) { (*(void (__fastcall **)(__int64, void *))(*(_QWORD *)v10 + 960LL))(v10, &unk_10075E870); } else { memset(&v11, 125, 3); (*(void (__fastcall **)(__int64, __int64 *))(*(_QWORD *)v10 + 960LL))(v10, &v11); } result = (*(__int64 (__fastcall **)(__int64, _QWORD))(*(_QWORD *)v10 + 344LL))( v10, *(unsigned __int8 *)(v1 + 569)); } v8 = (unsigned int)(v8 + 1); } while ( v3 != (_DWORD)v8 ); } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source