// // std::__ndk1::vector>::__swap_out_circular_buffer from 0x6fbd3c to 0x6fbdc4 (136 bytes) // // 4 xrefs: // > PlayLayer::saveActiveSaveObjects @ 0x702d6c // > PlayLayer::saveActiveSaveObjects @ 0x703048 // > PlayLayer::saveActiveSaveObjects @ 0x7030a4 // > @ 0xa3c00 // // 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:51:59 +0000 // __int64 __fastcall std::vector::__swap_out_circular_buffer(__int64 *a1, _QWORD *a2) { _QWORD *v2; // x6 _QWORD *v3; // x3 __int64 v4; // x2 __int64 v5; // x5 __int64 v6; // x2 __int64 v7; // x2 __int64 result; // x0 v2 = (_QWORD *)*a1; v3 = (_QWORD *)a1[1]; v4 = a2[1]; if ( (_QWORD *)*a1 != v3 ) { do { while ( 1 ) { v3 -= 2; if ( v4 == 16 ) break; v5 = v3[1]; *(_QWORD *)(v4 - 16) = *v3; *(_QWORD *)(v4 - 8) = v5; v4 = a2[1] - 16LL; a2[1] = v4; if ( v2 == v3 ) goto LABEL_6; } v4 = 0; a2[1] = 0; } while ( v2 != v3 ); LABEL_6: v2 = (_QWORD *)*a1; } *a1 = v4; a2[1] = v2; v6 = a1[1]; a1[1] = a2[2]; a2[2] = v6; v7 = a1[2]; a1[2] = a2[3]; a2[3] = v7; result = a2[1]; *a2 = result; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source